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

Figure out how to constructReactInstance in React 17 #8

Open
lexidor opened this issue Nov 15, 2020 · 2 comments
Open

Figure out how to constructReactInstance in React 17 #8

lexidor opened this issue Nov 15, 2020 · 2 comments

Comments

@lexidor
Copy link
Contributor

lexidor commented Nov 15, 2020

Older versions of React had a different way of creating components.
I am almost certain that this doesn't work in React 17.
Some research by someone who knows Reacts internals is required to bring this functionality into the modern era.

One of the things that might make things more difficult (or more easy, depending on how you look at it), is how React 17 handles event handlers.

React 17 release notes

Also a bit unrelated, but a bit less fun is that JSX can compile down to two "syntaxes".
New JS Transform

@lexidor lexidor changed the title Figure out how to constructReactInstance in React 16 Figure out how to constructReactInstance in React 17 Jun 8, 2021
@connordoner
Copy link

Frustratingly, I never had the opportunity to get to this, but I came across this article deconstructing how React works and felt it might be handy in future if I or others can do so!

@connordoner
Copy link

I'm doing some long term project planning right now, and will try to get to this in W3 of February 2023.

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

2 participants