DEV Community 👩‍💻👨‍💻

Discussion on: Beginners guide to mobx-state-tree in 5 minutes or less

Collapse
 
mattruby profile image
Matt Ruby

Hi Saad,

Tough to get into that in a whirlwind five minute intro :-)

I'll visit things like that in future posts. But here are a few suggestions.

Take a look at mobx-state-tree.js.org/overview/types

For a key value grab bag, you can use types.map or if your dataset is totally wild west, you can use types.frozen.

I've hit on what you're up against. What I normally try to do is model as much as I can, and try to constrain the wild attributes into a separate grab bag.

Glad you enjoyed the article! I'll try to keep them coming.

Collapse
 
saadbashar profile image
Saad

Thank you so much for the quick response and helpful link. I will go through them. Hopefully will see you doing a series on this!