Skip to content

feat(react): support Vite based SSR#624

Merged
christian-bromann merged 26 commits intomainfrom
cb/remix-support
Apr 3, 2025
Merged

feat(react): support Vite based SSR#624
christian-bromann merged 26 commits intomainfrom
cb/remix-support

Conversation

@christian-bromann
Copy link
Copy Markdown
Member

Pull request checklist

Right now we only support SSR in Next.js environments where we can render asynchronous React components. This patch introduces SSR rendering through a Vite component to be used within e.g. Remix applications or other Vite based frameworks.

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally for affected output targets
  • Tests (npm test) were run locally and passed
  • Prettier (npm run prettier) was run locally and passed

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue URL:

What is the new behavior?

Does this introduce a breaking change?

  • Yes
  • No

Other information

@christian-bromann
Copy link
Copy Markdown
Member Author

Successfully published these dev builds:

  • @stencil/angular-output-target@0.0.1-dev.11742304649.1d698922
  • @stencil/react-output-target@0.0.1-dev.11742304649.1d698922
  • @stencil/ssr@0.0.1-dev.11742304649.1d698922
  • @stencil/vue-output-target@0.0.1-dev.11742304649.1d698922

* feat(ssr): support object hydration

* progress

* update Stencil dev version

* update

* update deps in next 15 app

* add test framework

* more tests

* another input test

* allow to validate client errors during test

* consolidate tests

* prettier

* minor refactoring and docs

* fix tests

* fix build issues

* triggr

* update pipeline

* make tests pass

* retry for remix

* prettier

* skip snapshot tests on Windows

* use vite service to start remix app

* change start command
@christian-bromann christian-bromann merged commit 2873b0e into main Apr 3, 2025
3 checks passed
@christian-bromann christian-bromann deleted the cb/remix-support branch April 3, 2025 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant