You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm trying to use react-bluekit with redux-form, which utilizes context to propagate a decorated component and it's props to children.
I've wrapped the whole <BlueKit/> component in a connected form and rendering the initial view works flawlessly. When going to any specific component via sidebar though, context seems to get lost and redux-form throws at
if (!context._reduxForm) {
throw new Error('Field must be inside a component decorated with reduxForm()');
}
How comes?
The text was updated successfully, but these errors were encountered:
This is strange behaviour. Bluekit has no router insideso context should stay without any changes. Have you tried for example crete component with displaying context? And if it works? We are using bluekit inside of redux provider without any problems. And that should be same use case as you have it
So I'm trying to use
react-bluekit
withredux-form
, which utilizes context to propagate a decorated component and it's props to children.I've wrapped the whole
<BlueKit/>
component in a connected form and rendering the initial view works flawlessly. When going to any specific component via sidebar though, context seems to get lost andredux-form
throws atHow comes?
The text was updated successfully, but these errors were encountered: