Radium: Add support for React Hooks

Created on 18 Feb 2019  Â·  2Comments  Â·  Source: FormidableLabs/radium

Currently I get an error message when wrapping my functional component in Radium function.

https://codesandbox.io/s/m7ojlxokxy
error message: Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)

Most helpful comment

I almost have a PR ready!

All 2 comments

I almost have a PR ready!

This has been released in 0.26.0 ✨

Was this page helpful?
0 / 5 - 0 ratings

Related issues

laurenskling picture laurenskling  Â·  4Comments

funwhilelost picture funwhilelost  Â·  7Comments

mattyork picture mattyork  Â·  7Comments

pocketjoso picture pocketjoso  Â·  8Comments

willhalling picture willhalling  Â·  4Comments