Nijor supports Server Side Rendering, but the feature is still evolving and is not yet fully mature.
You can still use SSR by changing the build mode from spa to ssr in your nijor.config.js file.
export const build = {
mode: "ssr"
}
At the moment, the main issue lies in hydration. The server-rendered HTML is generated correctly, but hydration is not yet working properly in all cases.
As a temporary workaround, rendered components are rendered again on page load. This means SSR can already be used, but the current behavior is not as efficient or polished as it should be.
This limitation is known and will be fixed in the future as Nijor’s SSR support continues to improve.