P
P
picka2021-06-08 21:41:49
React
picka, 2021-06-08 21:41:49

How to load data from Api to Redux server side in Next.js?

I have data that should be on every page like Favicon Title and Description.
I believe I need to call a Redux action on the _app.js page which will download this data from my API and pass it to Redux on the server side.

How to implement this correctly, maybe someone knows a good example for Next.js and if this is not feasible, please explain what options exist?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question