Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cycle.js Neo] The new DOM driver #969

Draft
wants to merge 32 commits into
base: neocycle
Choose a base branch
from
Draft

[Cycle.js Neo] The new DOM driver #969

wants to merge 32 commits into from

Conversation

jvanbruegge
Copy link
Member

No description provided.

All of the calls to the helper factory have been marked as PURE, so
that optimizer like terser can drop the usused hyperscript helpers
@jvanbruegge
Copy link
Member Author

Rendering already works, even dynamic content, but no event handlers or isolation yet
image

@jvanbruegge jvanbruegge added this to In progress in Cycle.js Neo Apr 27, 2021
This implements the basic event delegation for bubbling events. It
already takes total and sibling isolation into account, but is currently
still lacking the ability to simulate the capture phase. It also does
not take non-bubbling listeners into account at the moment.
dom/src/api.ts Outdated Show resolved Hide resolved
dom/src/api.ts Outdated Show resolved Hide resolved
jvanbruegge and others added 2 commits October 24, 2021 16:47
This makes it easier to use `isolate()` with a single string as
argument instead of providing an isolation scope per driver. In general
this should be allowed for all drivers and by convention, a simple
string should default to the tightest, ie total, isolation.
If the user does not use a master wrapper like @cycle/state, they no
longer have to manually pass an empty array to `run`.
Before this change, if an element was updated or added, only the new
element would be notified to the user, not the updated result of their
query
@jvanbruegge jvanbruegge force-pushed the neo-dom branch 3 times, most recently from 53f1b8d to fa7af78 Compare March 27, 2022 19:08
@staltz
Copy link
Member

staltz commented Jun 22, 2022

Nice to see progress! 😊

@jvanbruegge
Copy link
Member Author

Yeah, I caught corona and what else would I do 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Cycle.js Neo
  
In progress
Development

Successfully merging this pull request may close these issues.

None yet

2 participants