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

Upgrade to the fp-react to the latest version of react #230

Open
shawn-sandy opened this issue Apr 13, 2022 · 0 comments
Open

Upgrade to the fp-react to the latest version of react #230

shawn-sandy opened this issue Apr 13, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@shawn-sandy
Copy link
Owner

Upgrade guide

// Before
import { render } from 'react-dom';
const container = document.getElementById('app');
render(<App tab="home" />, container);

// After
import { createRoot } from 'react-dom/client';
const container = document.getElementById('app');
const root = createRoot(container); // createRoot(container!) if you use TypeScript
root.render(<App tab="home" />);

Upgrade create react app

@shawn-sandy shawn-sandy added the enhancement New feature or request label Apr 21, 2022
@shawn-sandy shawn-sandy moved this from Discovery to In Progress in Paint Apr 26, 2022
@shawn-sandy shawn-sandy moved this from In Progress to Discovery in Paint May 5, 2022
@shawn-sandy shawn-sandy moved this from Discovery to Todo in Paint May 12, 2022
@shawn-sandy shawn-sandy moved this from Todo to Done in Paint Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant