Open mattstauffer opened 7 years ago
Started in #21 hopefully more to come. Might be swapping this whole freaking thing over to vuex though!
I think a global data store, whether vuex or at least just storing everything at the top level, would be better than each component independently pulling its own data.
I think Vuex is overkill in this situation. My PR #34 is using an event bus to talk to the Root component which have all the Topics and Episodes on it initially and is passing them through to the RouterView as a prop to all pages.
Props sync in some places and not others. Some places pull global data via props, some manually hit the API themselves. Gotta make it consistent and vue 2.0 friendly.