I'm using react-boilerplate and I'm unable to make rrf to work in elegant way as I would like to. I found root cause (at least looking at how it works on rrf examples).
mapStateToProps in fieldset-component.jsstate is map of forms e.g.
However, in my bolierplate app, forms state is in an array of state nodes, which failes for rrf to read actual form from it.
This is state value received in mapStateToProps
If I do state = state.get('forms') than I'll get expected map of objects otherwsie I'll end up with error: Unable to create Form component. Could not find form for "dynamic.user" in the store.
Hi,
I'm using react-boilerplate and I'm unable to make rrf to work in elegant way as I would like to. I found root cause (at least looking at how it works on rrf examples).
mapStateToProps
infieldset-component.js
state
is map of forms e.g.However, in my bolierplate app, forms state is in an array of state nodes, which failes for rrf to read actual form from it.
This is state value received in
mapStateToProps
If I do
state = state.get('forms')
than I'll get expected map of objects otherwsie I'll end up with error:Unable to create Form component. Could not find form for "dynamic.user" in the store.
Here's my setup:
reducer/forms.js
mainReducer.js
store.js