Closed AidasK closed 4 years ago
i have the same problem, did u find a wayout eventually?
It won't work. You need to use next.js and laravel for api only. I tried to find an easier way, but there isn't one. I wonder why react called it SSR if it only doing pre-rendering...
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Has anybody used next.js to render react application to string? Current approach does not work for me, because react renderToString method ignores all "fetch" requests to external apis and nextjs handles it properly. Though nextjs only works with expressjs and it does not have proper documentation for advanced usage.