Any news on when React Hooks get added to create-react-app?
See original GitHub issueHi guys,
since React Hooks are officially released I wanted to know if there are any plans when hooks will be present in the awesome create-react-app
repo?
I’m just a little self thaught hobby developer that just works with create-react-app and I would love to use hooks. Can I manually update it after I created a project with create-react-app
?
Thank you so much guys for create-react-app
you are doing an excellent job!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Introducing Hooks - React
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class. This new...
Read more >Building Your Own Hooks - React
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class. Building your...
Read more >React v16.8: The One With Hooks
Hooks let you use state and other React features without writing a class. You can also build your own Hooks to share reusable...
Read more >Rules of Hooks - React
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class.
Read more >Using the Effect Hook - React
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class. The Effect...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can update the React version independently of
create-react-app
, so you can upgrade to16.8.0
right now and enjoy hooks! 🎣It’s actually easy to upgrade to the newest version of react, and easy to integrate eslint-plugin-react-hooks. I done that in just few minutes on codesandbox.io. Click here to see it. You can also download the whole project to your local by clicking the download button.
For someone who are curious what I’ve done, I just list the steps here
"eslint-plugin-react-hooks": "1.0.1",
in"dependencies"
, upgrade the versions of react and react-dom, if you’d like.eslintrc.json
file on the root folder with these code