Coder Social home page Coder Social logo

Comments (4)

raquo avatar raquo commented on June 19, 2024 3

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.

raquo avatar raquo commented on June 19, 2024 1

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.

yurique avatar yurique commented on June 19, 2024

Amazing!

from laminar.

mattjacobus avatar mattjacobus commented on June 19, 2024

from laminar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.