redbadger / react.london

:star2: react.london conference & community website :star2:
https://react.london
10 stars 3 forks source link

Form ArrayField initialisation throws `foo.map is not a function` #32

Closed lpil closed 8 years ago

lpil commented 8 years ago

Even if I grab the example from the official documentation and run it I get this error.

http://redux-form.com/6.0.0-alpha.13/examples/fieldArrays/

It's possible that the redux form alpha is broken. Why are we using an alpha anyway?

lpil commented 8 years ago

Currently I think that either there's a bug in redux form, or the API has changed: https://github.com/erikras/redux-form/issues/1139

If either of these it would explain why Zoe gets an error when I do not, and the other way round when we "fix" it for Zoe. npm probably has given us different versions.