DEV Community

Discussion on: The React Hook Proposal

Collapse
 
dance2die profile image
Sung M. Kim

does it replace the current API with something more complicated?

AFAIK, Facebook (FB) doesn't have a plan to phase out class based components.

I believe FB is pushing people toward writing more composable components & behaviors (hooks), creating meaning smaller components (just like Functional Programming promotes writing small functions and compose them together).

React might become more "complicated" but the architecture your site would be more manageable & readable.