re: The React Hook Proposal VIEW POST


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.

code of conduct - report abuse