astro/packages/astro/test
Tony Sullivan 0a7b6deaec
Move hydration directives to special attributes (#618)
* feat: ♻️ updating hydration to work with the directive syntax

* test:  Updating tests for the hydration directive syntax

* refactor: Updating example projects for the hydration directive syntax

* test:  Found a test fixture still needing an update to the hydration directive syntax

* style: Prettier strikes again!  Reverting code formatting changes

* refactor: ♻️ moving directive matching to a Set

* refactor: Updating syntax to `client:load`

* refactor: ♻️ Simplifying the `client:` directive match

Per PR feedback from @matthewp

* chore: errant console.warn() snuck into the last commit

* feat: 🔊 Adding a super fancy build warning to update to the directive syntax

* refactor: ♻️ Removing unnecessary checks when matching supported hydration directives

`val` isn't being used for now, but leaving it in the attr destructuring as a reminder since it'll be needed for `client:media`

* test:  Including the original hydration syntax in a test to make sure it builds

* style: 📝 Adding a comment to make it clear why the old hydration syntax is included in a the test markup

* fix: 🐛 updating `head` logic to recognize hydration directive syntax

* docs: Adding changeset

* refactor: 🔥 Removing unnecessary `!hasComponents` check

* docs: 📝 Adding more detail to the changset

Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-08 14:07:56 -04:00
..
benchmark [ci] yarn format 2021-05-28 22:52:52 +00:00
fixtures Move hydration directives to special attributes (#618) 2021-07-08 14:07:56 -04:00
.eslintrc.cjs Chore: fix lint rules, add more error handling for unexpected cases (#177) 2021-05-06 14:57:14 -04:00
astro-attrs.test.js Serialize boolean attributes without a value (#422) 2021-06-14 12:29:34 -04:00
astro-basic.test.js Fix {...spread} props (#522) 2021-06-24 17:41:10 -05:00
astro-children.test.js Use npm package names to load internal deps (#294) 2021-06-04 14:19:01 -04:00
astro-collection.test.js Fix collections regex (#557) 2021-06-28 06:22:15 -05:00
astro-components.test.js Improve asset resolution in Astro (#437) 2021-06-15 14:53:16 -06:00
astro-css-bundling.test.js Bugfix: random CSS ordering (#232) 2021-05-24 10:57:35 -06:00
astro-doctype.test.js Make doctype be case insensitive (#419) 2021-06-14 12:00:51 -04:00
astro-dynamic.test.js Bugbash! (#263) 2021-05-28 17:19:40 -05:00
astro-expr.test.js [ci] yarn format 2021-06-15 16:34:46 +00:00
astro-fallback.test.js [wip] Fix CI (#202) 2021-05-12 12:06:16 -06:00
astro-global.test.js [wip] Fix CI (#202) 2021-05-12 12:06:16 -06:00
astro-hmr.test.js Always add the HMR script in dev (#536) 2021-06-24 17:05:55 -04:00
astro-markdown-plugins.test.js [ci] yarn format 2021-07-07 20:10:09 +00:00
astro-markdown.test.js Fix <Markdown {content} /> closing parent tag (#575) 2021-06-29 15:33:56 -05:00
astro-resolve.test.js Handle script module resolution (#438) 2021-06-15 15:06:29 -06:00
astro-rss.test.js Fix Windows tests (#212) 2021-05-14 12:03:41 -04:00
astro-scoped-styles.test.js Fix scoped CSS selector when class contains a colon (#383) 2021-06-14 10:36:33 -06:00
astro-search.test.js Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
astro-sitemap.test.js Add CSS bundling (#172) 2021-05-06 10:38:53 -06:00
astro-styles-ssr.test.js [ci] yarn format 2021-07-07 20:10:09 +00:00
astro-throw.test.js [ci] yarn format 2021-06-29 16:38:55 +00:00
builtins-polyfillnode.test.js Don't alias builtins if polyfillNode is used (#601) 2021-07-01 16:22:47 -04:00
builtins.test.js Allow usage of node builtins through node: prefix (#520) 2021-06-23 16:01:32 -04:00
config-path.test.js Make UVU tests time out (#265) 2021-05-27 14:06:54 -06:00
config-port.test.js Make UVU tests time out (#265) 2021-05-27 14:06:54 -06:00
custom-elements.test.js Adds hydrationPolyfills config for renderers (#594) 2021-07-01 10:42:56 -04:00
helpers.js [ci] yarn format 2021-07-07 20:10:09 +00:00
no-head-el.test.js [ci] yarn format 2021-06-21 16:29:33 +00:00
plain-markdown.test.js [ci] yarn format 2021-05-17 14:30:21 +00:00
preact-component.test.js [ci] yarn format 2021-07-07 20:10:09 +00:00
react-component.test.js Add test for React SSR + window (#581) 2021-06-29 21:37:50 -04:00
snowpack-integration.test.js Make UVU tests time out (#265) 2021-05-27 14:06:54 -06:00
snowpack-log.test.js snowpack.dev build output cleanup (#324) 2021-06-08 08:33:15 -04:00
test-utils.js Format (#167) 2021-05-03 12:26:10 -06:00