-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(react-output-target): generate functional components and ES modules (#432) * feat: migrate to lit/react component wrappers * exploration nextjs support * update Stencil with support for DSD * get rid of hydration errors * enhance output target * add tests * fix dep * remove type property in package.json * remove hydrate dir * move ssr support into custom export * clear hydrate folder again * skip lib check * skip lib check * better resolve light dom * remove unused import * match default dir with stencil * more improvements on light dom rendering * remove duplicate hydrate ot * remove style prop * fail if outdir is not set * import hydration script and ssr runtime only within the server component * validate hydrate output target to be set if hydrateModule option is set * improve implementation * separate files for server and client components * properly create server and client side components * don't parse children * use own runtime * validate that external runtime is set to 'true' * adjust test * update Stencil dev build * recognise that externalRuntime default is true * bring back light DOM rendering for better hydration results * revert light dom approach * minor formatting * update stencil * explicitly type component exports * unit test tweak * fix build * use latest Stencil release * fix test --------- Co-authored-by: Sean Perkins <[email protected]>
- Loading branch information
1 parent
24de01e
commit 399fe25
Showing
41 changed files
with
5,402 additions
and
2,348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ build/ | |
.npmrc | ||
*.tgz | ||
*.lerna_backup | ||
packages/example-project/component-library/hydrate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/example-project/component-library/src/components/my-component/my-component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
:host { | ||
display: block; | ||
color: green; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.