Commit graph

13 commits

Author SHA1 Message Date
FredKSchott
1583ef173a [ci] yarn format 2021-07-14 17:43:06 +00:00
Fred K. Schott
d40edb0b67
Docs sync (#680)
* test ignoring examples from workspace

* docs sync
2021-07-14 13:41:51 -04:00
François Vaux
d07f3d4186
Fix astro/jsx comparison table formatting (#673) 2021-07-13 11:01:49 -05:00
Matthew Phillips
0340b0f0b1
Adds support for client:media hydrator (#664)
* Adds support for client:media hydrator

* Include a changeset

* Pass in undefined when not hydrating
2021-07-12 16:27:08 -04:00
natemoo-re
7aa8d4719f [ci] yarn format 2021-07-12 18:08:45 +00:00
Nate Moore
8f4562afbe
Add support for named slots (#661)
* feat: support named slots, slot fallback content

* docs: document slots

* chore: add changeset

* fix: build errors

* chore: prefer `patch` version
2021-07-12 13:07:39 -05:00
Nate Moore
b4f145a0e7
Update component-hydration.md 2021-07-08 15:19:30 -05:00
Nate Moore
ea5afcd633
Update component-hydration.md 2021-07-08 11:55:52 -05:00
Nate Moore
ee4bcb5729
docs(#628): Clarify component rendering
Every component is rendered on the server at build time. Hydration directives _optionally_ add client-side hydration at runtime.
2021-07-08 11:50:12 -05:00
natemoo-re
1bbe98ae54 [ci] yarn format 2021-07-07 20:10:09 +00:00
Matthew Phillips
fd80381db2
Adds hydrationPolyfills config for renderers (#594)
Some renderers, such as Lit, need special polyfills only for hydration. We have the `polyfills` array, but that is intended for polyfills that always need to run. This adds a second type hydrationPolyfills that only run on elements that are `:load`, `:idle`, etc.
2021-07-01 10:42:56 -04:00
Matthew Phillips
6a660f1b08
Implements low-level custom element support (#587)
* Implements low-level custom element support

* Changes based on self review

* Adds a changeset

* Polyfills are added even when not hydrating

* Remove hydrationMethod option

Punting on this idea until it's really needed.
2021-07-01 08:42:07 -04:00
Fred K. Schott
279a252462 astro-docs sync 2021-06-27 23:30:57 -07:00