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

add _children and _parent + call options._diff #47

Merged
merged 6 commits into from
Sep 27, 2022

Conversation

JoviDeCroock
Copy link
Member

@JoviDeCroock JoviDeCroock commented Sep 17, 2022

Getting this to work will be slightly challenging as _diff sets currentComponent to null and we call options._render asynchronously 😅 this is a bit messy... Peculiarly the tests do work in isolation.

Double checked in a csb and the output for useId is correct https://codesandbox.io/s/strange-kepler-q1tcwv?file=/src/index.js

EDIT: reordering tests did the trick for the asycn stuff 😅

Fixes #46

@JoviDeCroock JoviDeCroock marked this pull request as draft September 17, 2022 22:33
@JoviDeCroock JoviDeCroock marked this pull request as ready for review September 17, 2022 23:09
@JoviDeCroock JoviDeCroock merged commit 1ebd7b1 into master Sep 27, 2022
@JoviDeCroock JoviDeCroock deleted the call-children-diff branch September 27, 2022 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

useId support
2 participants