Code Monkey home page Code Monkey logo

Comments (13)

TylorS avatar TylorS commented on June 14, 2024

Hopefully it wouldn't, but yes it's possible. I'm just sort of curious, because there are quite a few tests for select() and events(), why none of them would fail if I accidently made a breaking change.

from cycle-snabbdom.

TylorS avatar TylorS commented on June 14, 2024

I'll work on adding some more tests to be safe.

from cycle-snabbdom.

SkaterDad avatar SkaterDad commented on June 14, 2024

I appear to have narrowed down the problem.

There seems to be an issue with the sortNamespace function on isolated elements.

The test I added in this commit fails when using that function, but passes when I comment out the .sort. It fails on the first assertion, so select() can't find anything..

test/browser/isolation.js

from cycle-snabbdom.

TylorS avatar TylorS commented on June 14, 2024

Thank you for this. I'll add this test to my work as well. I'll work on a proper fix after work

from cycle-snabbdom.

SkaterDad avatar SkaterDad commented on June 14, 2024

No problem. Just fulfilling my duties as the guy who has to break every release 😛

from cycle-snabbdom.

TylorS avatar TylorS commented on June 14, 2024

Technically I break them, and you help me solve them 👍

from cycle-snabbdom.

TylorS avatar TylorS commented on June 14, 2024

I can further confirm that this is strictly related to behavior in isolate()

from cycle-snabbdom.

TylorS avatar TylorS commented on June 14, 2024

cc @staltz

This should probably be taken into consideration with https://github.com/cyclejs/cycle-dom/issues/96
I'll PR whatever I figure out over here back to @cycle/dom

from cycle-snabbdom.

TylorS avatar TylorS commented on June 14, 2024

@SkaterDad I think I have gathered a proper fix for this. If you don't mind looking at the tests I added before I merge and release the fix, that would be great.

from cycle-snabbdom.

TylorS avatar TylorS commented on June 14, 2024

@staltz If you have any input on my solution that would be great too. I'll PR this same thing to cycle-dom soon.

from cycle-snabbdom.

staltz avatar staltz commented on June 14, 2024

Thanks @TylorS for the tests and the fix. I think so far we have been supporting only classnames. I think it's important we start moving efforts to cycle-dom mainly, because it's being rewritten in Snabbdom (it's basically a merge of this repo with cycle-dom), and naturally this repo would be discontinued.

from cycle-snabbdom.

SkaterDad avatar SkaterDad commented on June 14, 2024

The tests look pretty good.

it's also great to hear the snabbdom will be used by cycle/dom going forward.

from cycle-snabbdom.

TylorS avatar TylorS commented on June 14, 2024

Should be good with v1.1.1. Feel free to reopen if you still encounter issues @SkaterDad

from cycle-snabbdom.

Related Issues (13)

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.