Maksim Ivanov Posted on Nov 12, 2018 React Hooks Api Intro - How To Use useState And useEffect #react #javascript Recently React got new hooks api, that allows to have state in purely functional components. Let’s see how it looks like and experiment a bit! Watch The Video Top comments (3) Subscribe Submit Preview Dismiss Collapse Expand Matias Trujillo Matias Trujillo Matias Trujillo Follow Email uppercod.git@gmail.com Location Chile Joined Aug 9, 2017 • Nov 12 '18 Dropdown menu Copy link Hide It is interesting how the hooks operate inside React, but I think that react is still far from functional. I invite you to know this small project github.com/orby-js/core Collapse Expand Maksim Ivanov Maksim Ivanov Maksim Ivanov Follow I write tutorials for developers at https://maksimivanov.com Location Stockholm, Sweden Work Frontend Developer at Mojang Joined Nov 21, 2017 • Nov 13 '18 Dropdown menu Copy link Hide Tbh I don’t understand why do we need state bound to component instance. 🤷♂️ Collapse Expand Matias Trujillo Matias Trujillo Matias Trujillo Follow Email uppercod.git@gmail.com Location Chile Joined Aug 9, 2017 • Nov 17 '18 • Edited on Nov 17 • Edited Dropdown menu Copy link Hide Thank you for your comment, the state inside orby is simple and is less code than the use of hooks 🤓 I attach a small article that has been of my interest in the topic of hooks medium.com/@ryardley/react-hooks-n... Code of Conduct • Report abuse
Top comments (3)
It is interesting how the hooks operate inside React, but I think that react is still far from functional.
I invite you to know this small project
github.com/orby-js/core
Tbh I don’t understand why do we need state bound to component instance. 🤷♂️
Thank you for your comment, the state inside orby is simple and is less code than the use of hooks 🤓
I attach a small article that has been of my interest in the topic of hooks
medium.com/@ryardley/react-hooks-n...