Skip to content

Cannot read property 'validate' of undefined when 'map' MST 'create' #2797

Answered by mweststrate
davetapley asked this question in Q&A
Discussion options

You must be logged in to vote

Probably you'll need config.layers.static.create(data => StaticLayer.create(data)) instead. For your last errors, make sure to familiarize yourself with actions as described in the documentation. For further questions MST has it's own community living over here: https://spectrum.chat/mobx-state-tree

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davetapley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants