During ssr, I am getting error: fetch is not defined at server side. How should I handle data fetch from db and render it from server side.
Client side as fetch is available, ajax call is made and data is fetched. Any help or guide would be much appreciatable.
During ssr, I am getting error: fetch is not defined at server side. How should I handle data fetch from db and render it from server side. Client side as fetch is available, ajax call is made and data is fetched. Any help or guide would be much appreciatable.