markanns / News

0 stars 0 forks source link

NewsContext #2

Open sasastevcic opened 6 months ago

sasastevcic commented 6 months ago

On each page load, you are fetching all data that is possible. If we increase the number of categories, there will be a lot of unnecessary calls. We can avoid this by separating logic.

You can split it into a couple of tasks:

markanns commented 6 months ago

finished refactor