diff options
author | 2023-08-30 04:38:28 -0700 | |
---|---|---|
committer | 2023-08-30 13:38:28 +0200 | |
commit | 5598feb71864f814d0a34bb6bf9f6ecdff081497 (patch) | |
tree | 15cfefaaeb8b7f346eb96e05a5e9e086d7bd262b /.changeset/perfect-horses-tell.md | |
parent | e33d951af178ce0b50a41799d3ce76d107c961db (diff) | |
download | astro-@astrojs/react@3.0.0.tar.gz astro-@astrojs/react@3.0.0.tar.zst astro-@astrojs/react@3.0.0.zip |
[ci] release (#8279)create-astro@4.0.0astro@3.0.0@astrojs/vue@3.0.0@astrojs/vercel@4.0.0@astrojs/underscore-redirects@0.3.0@astrojs/telemetry@3.0.0@astrojs/tailwind@5.0.0@astrojs/svelte@4.0.0@astrojs/solid-js@3.0.0@astrojs/sitemap@3.0.0@astrojs/rss@3.0.0@astrojs/react@3.0.0@astrojs/prism@3.0.0@astrojs/prefetch@0.4.0@astrojs/preact@3.0.0@astrojs/partytown@2.0.0@astrojs/node@6.0.0@astrojs/netlify@3.0.0@astrojs/mdx@1.0.0@astrojs/markdown-remark@3.0.0@astrojs/markdoc@0.5.0@astrojs/lit@3.0.0@astrojs/internal-helpers@0.2.0@astrojs/deno@5.0.0@astrojs/cloudflare@7.0.0@astrojs/alpinejs@0.3.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to '.changeset/perfect-horses-tell.md')
-rw-r--r-- | .changeset/perfect-horses-tell.md | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/.changeset/perfect-horses-tell.md b/.changeset/perfect-horses-tell.md deleted file mode 100644 index 7723c665f..000000000 --- a/.changeset/perfect-horses-tell.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -'astro': major ---- - -Astro's JSX handling has been refactored with better support for each framework. - -Previously, Astro automatically scanned your components to determine which framework-specific transformations should be used. In practice, supporting advanced features like Fast Refresh with this approach proved difficult. - -Now, Astro determines which framework to use with `include` and `exclude` config options where you can specify files and folders on a per-framework basis. When using multiple JSX frameworks in the same project, users should manually control which files belong to each framework using the `include` and `exclude` options. - -```js -export default defineConfig({ - // The `include` config is only needed in projects that use multiple JSX frameworks; - // if only using one no extra config is needed. - integrations: [ - preact({ - include: ['**/preact/*'] - }), - react({ - include: ['**/react/*'] - }), - solid({ - include: ['**/solid/*'], - }), - ] -}); -``` |