redux integration
sheppard opened this issue · 0 comments
sheppard commented
The redux ecosystem now provides many of the same features as wq.app's data model. Integrating these libraries would allow us to leverage a lot of existing design and implementation work, particularly around offline storage and sync.
- Replace/integrate wq/store.js with redux and redux-persist
- Replace/integrate wq/models.js with redux-orm
- Replace/integrate wq/outbox.js with redux-offline
- Replace/integrate wq/router.js with a Redux-based solution.
- Replace wq/json.js with fetch (not redux-specific but related to these changes)
Note that this only proposes overhauling the data model and does not change wq.app's UI layer, which will remain integrated with Mustache and jQuery Mobile (at least for now).
I will try to split this up into smaller subtasks in the coming weeks/months.