What are the benfits / performance gains that you are seeing in a production app? I ask this because I believe reducers are generally light weight and donot have a huge dependency tree that could benefit from lazy loading.
Actually my production app is a buisiness intelligence app. It involves lot of data stitching happening inside the reducer from multiple api calls. And I try to keep the data flat by normalizing the api responses. So for my usecase i need towrite lot of data transformation utilities.
If your app has so many routes then you should think of code splitting the redux dtore sine the total size contribution from sll routes would be huge
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Sagi great work on lazy loading reducers!
What are the benfits / performance gains that you are seeing in a production app? I ask this because I believe reducers are generally light weight and donot have a huge dependency tree that could benefit from lazy loading.
Actually my production app is a buisiness intelligence app. It involves lot of data stitching happening inside the reducer from multiple api calls. And I try to keep the data flat by normalizing the api responses. So for my usecase i need towrite lot of data transformation utilities.
If your app has so many routes then you should think of code splitting the redux dtore sine the total size contribution from sll routes would be huge