Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benelan/stencil-react-testing
A repro sample for StencilJS testing related to React and SSR
https://github.com/benelan/stencil-react-testing
nextjs react ssr stenciljs testing-repo vite vitest
Last synced: 2 months ago
JSON representation
A repro sample for StencilJS testing related to React and SSR
- Host: GitHub
- URL: https://github.com/benelan/stencil-react-testing
- Owner: benelan
- Created: 2023-08-16T19:03:30.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-15T06:57:35.000Z (8 months ago)
- Last Synced: 2024-10-05T14:43:04.324Z (3 months ago)
- Topics: nextjs, react, ssr, stenciljs, testing-repo, vite, vitest
- Language: TypeScript
- Homepage:
- Size: 1.81 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stencil React Testing
This is a monorepo for testing and reproducing bugs related to Stencil's React
integration. [`packages/react-library`](./packages/react-library/) was created
following Stencil's [React Integration](https://stenciljs.com/docs/react)
documentation. There are two apps, both of which have caused us problems in the
past:1. [`apps/vite`](./apps/vite/) with Vitetest, which uses JSDOM under the hood.
2. [`apps/nextjs`](./apps/nextjs/) with prerendering setup to use
[`GetStaticProps`](https://nextjs.org/docs/pages/building-your-application/data-fetching/get-static-props)
instead of a [custom server](https://nextjs.org/docs/pages/building-your-application/configuring/custom-server).
See Stencil's [Hydrate App](https://stenciljs.com/docs/hydrate-app)
documentation for more information.