Recoil
Recoil copied to clipboard
[Proposal] Include Recoil Nexus in the package.
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
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..
I see. Hopefully I will have some time to check into this soon. Thanks for the heads up