Preact-cli: Question: Is it possible to do SSR + dynamic routing now?

Created on 1 Sep 2017  路  2Comments  路  Source: preactjs/preact-cli

What is missing in preact-cli for SSR and dynamic routing with code splitting? Maybe exists examples or boilerplate with this functionality.

question

Most helpful comment

Yes. Here's an example using Express: https://github.com/lukeed/preact-cli-ssr

It's a mixture of pre-rendering & preact-render-to-string, all orchestrated by Express.

All 2 comments

+1

Yes. Here's an example using Express: https://github.com/lukeed/preact-cli-ssr

It's a mixture of pre-rendering & preact-render-to-string, all orchestrated by Express.

Was this page helpful?
0 / 5 - 0 ratings