wasp icon indicating copy to clipboard operation
wasp copied to clipboard

Server side rendering (SSR)

Open Immortalin opened this issue 4 years ago • 3 comments

Is your feature request related to a problem? Please describe. Pre render react UI server side before sending to client.

Describe the solution you'd like Add Next.js as a target

Immortalin avatar Feb 11 '21 00:02 Immortalin

Makes sense! I am somewhat reluctant about making Next our target though, since it is (I think?) not as flexible as an Express app, but I am not ruling it out as an option completely. What if we wanted to have SSR in ExpressJS app? Is there an easy way to go about that?

Martinsos avatar Feb 15 '21 19:02 Martinsos

I would need server side rendering for SEO. It should be relatively easy to enable SSR out of the box like Next.js while still providing flexibility.

samos123 avatar Feb 22 '21 17:02 samos123

@joanreyero also asked if we could support SSR in the future, for SEO.

Martinsos avatar Apr 21 '22 15:04 Martinsos