So i didn't manage to find any simple preact ssr boilerplates.Most of what could be found looked overcomplicated.
- For development start "build:client-dev" and then "start:ssr-server-dev" in a separate terminal
- prod - run "prod" command
- SSR codespliting
(doubt I can manage it without hacks now). At least I can deactivate SSR for some routes.