Comments (4)
Happy to report that I was able to fix this. Now you'll be able to move elements between children <-- observable
blocks, or even remove elements externally from a children <-- observable
DOM block (assuming you also remove the same elements from the list emitted by observable
of course).
While working on this, I've realized that right now, I can't give the same resilience to child <-- observable
blocks, because they get rid of their sentinel comment node when the child is emitted (it replaces the invisible sentinel node, and the next child replaces the previous child, so if the previous child is not there – boom). I'm now working on keeping that sentinel node in the DOM similar to how children
works, and also doing related improvements child.text
while I'm at it.
from laminar.
Happy to report that I was able to fix this for real this time. Discovered more annoying issues with onMountBind
(it lets you switch dynamically between different types of inserters), and finally fixed it all I think.
from laminar.
Amazing!
from laminar.
from laminar.
Related Issues (20)
- Docs: Algolia search
- RFC: Drop Scala 2.12 support HOT 2
- Laminar 15.0.0 pre-release testing & issues HOT 19
- Animation features
- [Question] - jQuery bind and oninput event HOT 2
- [DOM] Using certain reserved values for the `name` attribute breaks Scala types HOT 1
- onParentChange callbacks HOT 3
- Laminar Native for building mobile and desktop apps HOT 2
- ZIO / FS2 / etc. integration examples HOT 5
- tabIndex for SVG element HOT 3
- Handling of SVG attributes is subtly incorrect (and `xmlns` attribute is broken) (again)
- Post request fails to resolve HOT 6
- Helper to set multiple keys (props / attrs / event props) at the same time
- Expose child-specific owners to help users write strict state logic
- RFC: onMount* callbacks should fire even if the element is already mounted
- Laminar Roadmap
- Error: Maven resources not found for Scala version 2.12, but I'm using Scala version 2.13.12 HOT 8
- Support nesting of dynamic inserters HOT 1
- RFC: Element.observe(signal) to safely get the signal's current value. HOT 1
- Easy `Var`: Providing implicit conversion from `Var[A]` into `Source[String]` ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laminar.