Giter Club home page Giter Club logo

Comments (5)

ryansolid avatar ryansolid commented on August 20, 2024 1

Ok this should behave as expected now in the new version dom-expressions 0.7.10. Please confirm that it works for you.

from dom-expressions.

ryansolid avatar ryansolid commented on August 20, 2024

I think that is a fair expectation and I'm going to re-evaluate. The non propagation is sort of intentional. I added this feature to get a number of the VDOM implementors off my back in the JS Frameworks Benchmark. I personally did not see the need for implicit event delegation with this renderer, but by adding I'm committing to support it. And the solution I chose was just copying what some of their libraries do. Unsurprisingly perhaps some of the fastest libraries don't support bubbling delegated events.

I respect InfernoJS balance of performance and capability. I will investigate their solution and likely follow suit on mechanics(although not API).

from dom-expressions.

kiejo avatar kiejo commented on August 20, 2024

Thanks for the detailed explanation. It's good to know that the current non propagation is sort of intentional and not a bug, but I'm happy to hear that you are going to re-evaluate the current behavior.

It's obviously not easy to find the right balance between performance and capability, but I think that getting a somewhat more expected (and hopefully useful) behavior might be worth it in this case. Looking forward to further progress on this library!

from dom-expressions.

ryansolid avatar ryansolid commented on August 20, 2024

Just to update you. Inferno does in fact do event bubbling of delegated events which is good enough for me. I will update this behavior. I do Shadow DOM retargeting which is a bit of a complication but I'm confident I should be able to come up with something here.

from dom-expressions.

kiejo avatar kiejo commented on August 20, 2024

Wow this was fast! I can confirm that it now works as expected for me.

from dom-expressions.

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.