Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

[Proposal] Include Recoil Nexus in the package. #1826

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

luisanton-io
Copy link

As requested by multiple users[1][2][3] and considering the recent traction of Recoil Nexus, hopefully we can include this feature directly in the package.

I am not particularly happy I had to extract RecoilRoot from its original module to avoid a circular dependency with useRecoilCallback.
This has led me to rename the exports everywhere from /Recoil_RecoilRoot to /Recoil_RecoilNexus, tests included.

If this is a big deal any hint to avoid doing so is welcome.
Cheers,
L

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 31, 2022
@drarmstr drarmstr added the enhancement New feature or request label Jun 7, 2022
@drarmstr
Copy link
Contributor

drarmstr commented Jun 7, 2022

Thanks for this contribution @luisanton-io! Though, we should explore some of the nuances of the interface for consideration. It seems like this API would have race conditions in case there are multiple <RecoilRoot>'s used..

@luisanton-io
Copy link
Author

I see. Hopefully I will have some time to check into this soon. Thanks for the heads up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants