Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 4 additions & 25 deletions src/assets/wcc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pages/docs/reference/appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Here are some of the most useful paths available on **context**, all of which ar

By default, Greenwood handles server rendering with [**WCC (Web Components Compiler)**](https://github.com/ProjectEvergreen/wcc), which brings with it a minimal DOM Shim that emulates a minimal amount of DOM and Web APIs, most as no-ops for the benefit of making SSR and prerendering a bit more ergonomic for development.

It is fine-tuned for creating Light and Shadow DOM based custom elements. The full list is documented [here](https://merry-caramel-524e61.netlify.app/#key-features), with some key features being:
It is fine-tuned for creating Light and Shadow DOM based custom elements. The full implementation can be seen [here](https://github.com/ProjectEvergreen/wcc/blob/master/src/dom-shim.js), with some key features being:

- `customElements.define`
- `attachShadow`
Expand Down