Closed
Bug 1527559
Opened 6 years ago
Closed 4 years ago
Try out React hooks
Categories
(Tree Management :: Treeherder: Frontend, enhancement, P3)
Tree Management
Treeherder: Frontend
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: emorley, Unassigned)
Details
We've just updated to React 16.8, which includes support for the new "Hooks" feature, which looks to be the new long term direction of React:
https://reactjs.org/blog/2019/02/06/react-v16.8.0.html
https://reactjs.org/docs/hooks-intro.html
The React docs recommend against rewriting all the things to use hooks straight away, however it would be good to start experimenting with them in new code.
Before using them for the first time, the ESLint plugin should be added/enabled in .eslintrc.js:
https://www.npmjs.com/package/eslint-plugin-react-hooks
https://reactjs.org/docs/hooks-faq.html#what-exactly-do-the-lint-rules-enforce
Comment 1•6 years ago
|
||
I look forward to trying this out in the Push Health view. Seems like a good place to start. :)
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•