Curious how everyone's experiences have been using React Hooks. Do you prefer writing functional components instead of using classes? Are you still using Redux, or relying on custom hooks?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
Hooks + redux + custom hooks.
I haven't tried but I don't think using hooks with classes is possible...
I Personally don't find Provider api appealing(lack of debugging tools as robust and powerful as redux).
Using custom hooks instead of redux was also a thing in devto posts a while ago I think, but is something I will not recommend for the same reason as above.
Hooks are awesome :)
Custom hooks extracted to another file make it easier to mock with jest and test your functional components (since they are kind of dummy).
Hooks are really awesome and functional 👍