Open johanarnor opened 5 years ago
The previous version used the old context API, and the radium class requires access to these contexts inside it's methods, so the class version now uses a hoc to inject the contexts. And the problem is radium extends your class component 😞
If they are only needed in render()
, we could possibly get away with using consumer components and render functions as children instead of injecting them via a hoc.
Ah, ok. We've however switched styling lib now, and will unfortunately phase our Radium during the coming months. Should I keep this issue open or close it?
Hi! We've got an issue with v0.26:
Warning: React does not recognize the
radiumConfigContext
prop on a DOM element. when using Radium with e.g.Link
from react-router.I suppose
Link
simply forwards all props to the underlyinga
element.