Migration to hooks
See original GitHub issueWe’ve made a great start in the conversion to Function Components. This is just an issue to keep track of what we class components (public and internal) we have left. I haven’t checked if it’s feasible to convert these components, if it’s necessary or if it’s worth it.
Core
- ScrollbarSize #15233
- FormControl #15208
- Collapse #15248
- Tooltip #15291
- Textarea #15331
- Slide #15344
- Ripple #15345
- Popper #15405
- SelectInput #15410
- Snackbar #15504
- Portal #15399
- InputBase #15446
- ButtonBase #15716
- Popover #15623
- SwipeableDrawer #15947
- WithWidth #15678
- Modal #16254
- Tabs #16427
- TouchRipple #16522
Lab
Won’t migrate
- RootRef (soon deprecated)
Future work
The following items can be fully addressed once this effort is done:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:14
- Comments:46 (41 by maintainers)
Top Results From Across the Web
Hooks migration guide - Apollo GraphQL Docs
Hooks migration guide · How to integrate the new hooks API into your existing Apollo app · Core packages · Server-side rendering ·...
Read more >How We Migrated Our Codebase To React Hooks - Life at Torii
This blogpost describes the process of migrating our codebase to React Hooks, and what I did to drive the change in the company....
Read more >Migrating from class components to React hooks
You may have already heard of hooks as a way to use common React features without writing a class-based component. Hooks provide an...
Read more >Introducing Hooks - React
Crucially, Hooks work side-by-side with existing code so you can adopt them gradually. There is no rush to migrate to Hooks. We recommend...
Read more >React Hooks Migration - Robin Wieruch
This tutorial shows a migration path on how to write React Class Components as React Function Components with React Hooks.
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 Free
Top 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

Is this task still up for grabs? I wouldn’t mind taking it, if it’s open 😃
This is one way to find them: https://github.com/mui-org/material-ui/search?l=JavaScript&p=1&q="React.Component".