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

a way to get the root tag without having the user define it #11

Open
barelyhuman opened this issue Oct 20, 2022 · 1 comment
Open

a way to get the root tag without having the user define it #11

barelyhuman opened this issue Oct 20, 2022 · 1 comment

Comments

@barelyhuman
Copy link
Owner

barelyhuman commented Oct 20, 2022

RootTags are defined by the registry and then being used to init the native DOM.

This can be removed and reduced by handling the registry task in the library as well but the blocking factor is that
creating a root fiber node requires the global defs from the react library but then that's not exposed or exported
and so if we do use the legacy library to define the root container then we might get version locked to react-native's current version

either way, need to see how feasible it's going to be

@barelyhuman
Copy link
Owner Author

The current solution is hiding it with an HOC component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant