bogas04 / SikhJS

👳 🚀 Gurbani Progressive Web Application
https://bogas04.github.io/SikhJS
MIT License
26 stars 16 forks source link

Remove code smell #59

Closed bogas04 closed 7 years ago

bogas04 commented 7 years ago

As the web app is moving towards complex features, components are starting to smell a lot and actions are coming up in the components.

I guess it's about time we use Flux sort of architecture to reduce code smell.

bogas04 commented 7 years ago

MERGED react-mdl branch is going well:

bogas04 commented 7 years ago

637acf3b060c0d6c11a30871ee4b36611bd44a21 uses function as children concepts for components like Fetch -> Markdown, Json -> GurbaniNow. This way we keep the fetching part primarily in Fetch.

Later we can implement caches at that level for better perf.

bogas04 commented 7 years ago

104 rewrite branch deals with it. Should ship with 0.6.0