mweststrate / react-mobx-shop

71 stars 8 forks source link

ViewStore to handle arbitrary route params #6

Open tim-field opened 6 years ago

tim-field commented 6 years ago

Interested in what it would take to make ViewStore ( in the MST branch )

https://github.com/mweststrate/react-mobx-shop/blob/mobx-state-tree/src/stores/ViewStore.js#L5

Be able to handle arbitrary URL's and parameters? ( So without the explicit selectedBookId param, as if you had to define all params that an app would use this for any route this would get verbose quickly )