KhalisFoundation / sttm-web

STTM website - https://www.sikhitothemax.org
https://www.sikhitothemax.org
Open Software License 3.0
50 stars 36 forks source link

Use redux for fetching API data #435

Closed bogas04 closed 5 years ago

bogas04 commented 6 years ago

Before we support SSR we need to use store for this information, this will help us in setting shabad data in store at server side and using it on client. If we don't do that, we can't add proper meta data for SEO without making one call at server and another at client side.

bogas04 commented 5 years ago

Bad idea as we might use react's create-cache or Apollo or hooks.