Matthew Phillips
1bd3cf8f4d
Add hydration to Solid renderer ( #1479 ) ( #1495 )
...
* feat: add hydration to Solid renderer
* fix: intersection observer, move script to the end
Co-authored-by: Ryan Carniato <ryansolid@gmail.com>
2021-10-22 16:25:36 -06:00
Drew Powers
17a0c5bf75
Try mocha/chai test runners ( #1418 )
...
* Try mocha/chai test runners
* Disable failing smoke test for now
Will revert when next can build docs
* Enable mocha in parallel mode
* Remove warning
* Update docs
* Fix Windows bug
* Fix internal imports
* Fix styles
2021-10-22 16:25:36 -06:00
Drew Powers
ddca8c4dea
Move Astro to Vite
2021-10-22 16:25:35 -06:00
github-actions[bot]
b7a4542103
Version Packages ( #1557 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-14 15:13:13 -04:00
Levi
31d0688016
Expose Vue component names for devtools ( #1512 )
...
* Expose name on host component for Vue devtools
* Add changeset
* Update changeset to patch from minor
* [ci] collect stats
* [ci] collect stats
Co-authored-by: leviceccato <leviceccato@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2021-10-14 15:08:07 -04:00
matthewp
fb0ec06239
[ci] yarn format
2021-10-05 16:22:58 +00:00
Ryan Carniato
f8d1a35ace
Add hydration to Solid renderer ( #1479 )
...
* feat: add hydration to Solid renderer
* fix: intersection observer, move script to the end
2021-10-05 12:20:51 -04:00
github-actions[bot]
b5f1bd46ff
Version Packages ( #1472 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-01 13:36:02 -04:00
Matthew Phillips
756e3769d3
Support PureComponent in the react renderer ( #1467 )
...
* Support PureComponent in the react renderer
* Adds a changeset
2021-10-01 11:25:17 -04:00
github-actions[bot]
b78a58ed33
Version Packages ( #1451 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-28 15:34:16 -04:00
Michael Stramel
806dcd8d8d
Update lit version to v2 ( #1445 )
...
* Update lit version to v2
* Create weak-sheep-clap.md
* Re-assign window.global to window to retain existing functionality
2021-09-28 14:59:28 -04:00
FredKSchott
6623950fbc
[ci] yarn format
2021-09-15 00:24:07 +00:00
github-actions[bot]
3d9b665265
Version Packages ( #1358 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-14 17:22:50 -07:00
Drew Powers
97d37f8f49
Docs: Add READMEs for renderers ( #1351 )
...
* Add README stub for renderers
* Add renderer READMEs
2021-09-14 16:26:23 -07:00
github-actions[bot]
b54c01bf66
Version Packages ( #1064 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-11 15:01:00 -07:00
Bartek Igielski
1339d5e36b
Bump Vue version to latest stable ( #1075 )
...
* Bump Vue version to latest stable
* Create wild-suits-raise.md
2021-08-10 09:02:24 -04:00
github-actions[bot]
57b736211a
Version Packages ( #999 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03 15:17:37 -04:00
Fred K. Schott
f7e86150e0
fix preact render to update a component on first render ( #966 )
...
* fix preact render to modify server-rendered code
* add changeset
2021-08-03 14:00:49 -04:00
tobi-or-not-tobi
418bc1d91c
Improve code sample for lit integration ( #991 )
...
Align the lit component with the astro import and usage of it.
2021-08-03 08:18:11 -04:00
github-actions[bot]
001594faa0
Version Packages ( #940 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-30 10:19:00 -04:00
Bartek Igielski
a1491cc659
Fix Vue components nesting and add tests ( #924 )
...
* Allow @vue/server-renderer to be processed
* Bump @vue/server-renderer version
* Create twenty-coats-talk.md
* Bump Vue packages version to get ESM builds
* Add Vue components tests
* Create shaggy-pugs-raise.md
* Delete shaggy-pugs-raise.md
2021-07-30 08:33:31 -04:00
github-actions[bot]
b4f7888be3
Version Packages ( #912 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 14:37:29 -04:00
Bartek Igielski
fdb1c15d75
Revert #858 ( #913 )
...
* Revert #858
* Create quick-houses-sip.md
2021-07-28 14:05:10 -04:00
github-actions[bot]
509c69627b
Version Packages ( #882 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 12:41:42 -04:00
github-actions[bot]
0ed1817d7a
Version Packages (next) ( #865 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 09:27:02 -04:00
Pablo Berganza
bef5103ae3
Fix renderer-solid
not creating a reactive root ( #848 )
...
* use Solid's render method on the client
* add changeset
* use createComponent
2021-07-27 08:51:20 -04:00
github-actions[bot]
31c24778aa
Version Packages (next) ( #859 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-26 11:19:41 -04:00
Bartek Igielski
1f7914485c
Exclude @vue/runtime-core from processing to fix Vue SSR for nested components ( #858 )
...
* Exclude @vue/runtime-core from processing to fix Vue SSR for nested components
* Create seven-shoes-stare.md
2021-07-26 11:14:11 -04:00
natemoo-re
5666bb6514
[ci] yarn format
2021-07-21 23:13:19 +00:00
github-actions[bot]
8f17217e02
Version Packages (next) ( #796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 18:12:11 -05:00
natemoo-re
561cbee68f
[ci] yarn format
2021-07-21 23:11:40 +00:00
Nate Moore
bd18e14a2c
Expose JSX compilation to renderers ( #588 )
...
* feat: add support for `jsxImportSource`, new JSX transform
* Renderer: add Solid renderer (#667 )
* feat: add support for `jsxImportSource`, new JSX transform
* WIP: solid renderer
* [Renderer] Solid (#656 )
* feat: add support for `jsxImportSource`, new JSX transform
* WIP: solid renderer
* Solid renderer: fix SSR of children, hydration (top level)
Caveat: cannot hydrate children/descendants of hydrated parents
* Fix hydration of fragments
* fix: SyntaxError in React/Preact renderers
* fix: errors in React/Preact renderers
* feat: update react external
* chore: update examples
* chore: delete old changelog
* chore: update astro config
Co-authored-by: Nate Moore <nate@skypack.dev>
* Changing the preact to Solid (#669 )
* chore: use new client:visible syntax
* fix: dev script issue
* chore: cleanup SolidJS example
* docs: update framework example docs
* chore: cleanup framework-multiple example
* fix: remove SolidJS false-positives from Preact renderer
* chore: add changeset
Co-authored-by: eyelidlessness <eyelidlessness@users.noreply.github.com>
Co-authored-by: Abdullah Mzaien <s201540830@kfupm.edu.sa>
* feat(create-astro): add Solid support
* docs: add JSX options to renderer reference
* chore: add changeset for P/React renderers
* fix: move react/server.js to external
* chore: remove brewfile
* Revert "feat: add support for `jsxImportSource`, new JSX transform"
This reverts commit 077c4bfc135c58a85d4ebfca6012e90403694d8d.
* fix: remove `react-dom/server` from `external`
* chore: remove unused dependency
* feat: improve JSX error messages
* Revert "Revert "feat: add support for `jsxImportSource`, new JSX transform""
This reverts commit f6c2896b9ec6430611fc0abae7d586c42aca87e5.
* docs: update jsxImportSource
* feat: improve error message
* feat: improve error logging for JSX renderers
* tests: add jsx-runtime tests
* chore: update snowpack
Co-authored-by: eyelidlessness <eyelidlessness@users.noreply.github.com>
Co-authored-by: Abdullah Mzaien <s201540830@kfupm.edu.sa>
2021-07-21 18:10:03 -05:00
FredKSchott
ed83424fdb
[ci] yarn format
2021-07-20 01:24:59 +00:00
Fred K. Schott
a7e66666e4
tsconfig fix ( #752 )
2021-07-19 18:23:39 -07:00
matthewp
59f6792b00
[ci] yarn format
2021-07-13 12:28:50 +00:00
Matthew Phillips
48851c9d25
Adds support for a Lit renderer ( #665 )
...
* Adds support for a Lit renderer
This adds `@astrojs/renderer-lit`. An experimental Lit renderer.
* Removed cached submodule, mistake
* Prevent globals clobbering
* Add docs on globals
2021-07-13 08:27:40 -04:00
matthewp
a9f2f6f6f9
[ci] yarn format
2021-07-09 13:41:50 +00:00
Matthew Phillips
44a69f7dcb
Protect again no metadata being passed ( #644 )
...
If using Astro <= 0.17.0 there is no `metadata` being passed. Even though no one should be using that version with this, adding some extra protection just in case.
2021-07-09 09:40:42 -04:00
github-actions[bot]
e70d9508d9
Version Packages ( #639 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-09 09:32:15 -04:00
matthewp
00cdbc4a46
[ci] yarn format
2021-07-09 13:01:57 +00:00
Matthew Phillips
1e01251454
Use correct React rendering API or hydration ( #636 )
...
* Use correct React rendering API or hydration
* Add changeset
2021-07-09 09:00:32 -04:00
Matthew Phillips
4b89f4ed08
Allow Preact components to return an empty Fragment ( #599 )
2021-07-01 14:30:48 -05:00
github-actions[bot]
91e11aee2a
Version Packages ( #543 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25 09:51:28 -04:00
Matthew Phillips
028d4e0114
Fix code from bad merge ( #540 )
...
* Fix code from bad merge
* Dont wrap the raw
* Wrap the expression in quotes
* remove react-dom just to test
* Add back react-dom as a known entrypoint
* Make startup time even longer
2021-06-25 09:29:57 -04:00
github-actions[bot]
8b69c2d406
Version Packages ( #484 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-21 15:38:41 -04:00
matthewp
32fdb383c7
[ci] yarn format
2021-06-21 19:35:26 +00:00
Matthew Phillips
0abd251cda
Removes snowpack warning suppression ( #504 )
...
* Start of warnings
* Provide knownEntrypoints by renderers
This allows renderers to provide knownEntrypoints that will be forwarded to snowpack. This gets rid of renderer-specific warnings and allows us to remove the snowpack logging hacks we were doing.
* Adds a changeset
2021-06-21 15:34:22 -04:00
github-actions[bot]
28c2d74dc3
Version Packages ( #446 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-15 08:25:29 -04:00
Matthew Phillips
af03c90c2b
Fix usage of arrow functions as components ( #426 )
...
* Fix usage of arrow functions as components
This fixes the React and Preact component as arrow function use-case by checking for the prototype property (arrow functions don't)
* Check the prototype
2021-06-14 13:24:37 -04:00
github-actions[bot]
0ef0c99b10
Version Packages ( #418 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 08:43:03 -04:00