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

Experiment with portals #2

Open
woutervh- opened this issue Sep 24, 2019 · 0 comments
Open

Experiment with portals #2

woutervh- opened this issue Sep 24, 2019 · 0 comments

Comments

@woutervh-
Copy link
Owner

Instead of rendering stack tab title + content as part of the React virtual DOM tree as per usual in a React app, it might be worth to render those into its own container using React portals. This way, when the layout is changed and stack move around, they don't have to be unmount and remounted, and the underlying components can keep their state, references, resources, etc.

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

No branches or pull requests

1 participant