DEV Community


Discussion on: ShowDev: Covid19 Risk Calculator hit 1,1k visitors ✨ 🥳 🎉

sylwiavargas profile image
Sylwia Vargas Author

Thank you!! Well, to be honest, I initially advocated for a totally different state design — our state was everywhere. This backfired at us because although one should keep state as locally as possible, this made further growth impossible. Another thing we could have done is use better state management solution but Redux in the beginning felt like an overkill.
Another thing is that initially, our data structure was much different (very simple and straightforward) but as the number of features grew, it was no longer possible to pretend like we will keep it simple :D we had to make some multiply-nested objects.