burundiarxiv / open-data

Open data platform on Burundi
https://data.burundiarxiv.org
0 stars 1 forks source link

Migrate from React Context API to Easy Peasy for managing local state #27

Open muco-rolle opened 3 years ago

muco-rolle commented 3 years ago

React Context API is good for small applications but it is unopinionated which can be hard to understand for other contributors as you can structure it the way you want. so we gonna migrate to easy-peasy which an abstraction of Redux, providing a reimagined API that focuses on developer experience.

https://easy-peasy.now.sh/

lionel-k commented 3 years ago

Can you please in this ticket try to make the code simpler ? As we discussed, we introduced complex architecture for a project which is still small. What do you think ? 🤔

muco-rolle commented 3 years ago

Yeah, sure I'll try to see how we can do without a state management system.