Frontmatter
| id | 7829 |
| title | Optimize Stylesheet addon for SSR mode |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Nov 20, 2025, 10:02 PM |
| updatedAt | Nov 20, 2025, 10:06 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7829 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 20, 2025, 10:06 PM |
Optimize
Neo.main.addon.Stylesheetfor Server-Side Rendering (SSR) mode.Context: When
Neo.config.useSSRis true, the initial HTML is pre-rendered on the server. This includes:Required Changes: In
src/main/addon/Stylesheet.mjs, inside theconstructmethod:Neo.config.useSSRis true.addGlobalCss()ifNeo.config.useSSRis true.This prevents redundant network requests and double-loading of styles in SSR environments.