summaryrefslogtreecommitdiff
path: root/.changeset/perfect-horses-tell.md
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2023-08-30 04:38:28 -0700
committerGravatar GitHub <noreply@github.com> 2023-08-30 13:38:28 +0200
commit5598feb71864f814d0a34bb6bf9f6ecdff081497 (patch)
tree15cfefaaeb8b7f346eb96e05a5e9e086d7bd262b /.changeset/perfect-horses-tell.md
parente33d951af178ce0b50a41799d3ce76d107c961db (diff)
downloadastro-@astrojs/react@3.0.0.tar.gz
astro-@astrojs/react@3.0.0.tar.zst
astro-@astrojs/react@3.0.0.zip
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.md27
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/*'],
- }),
- ]
-});
-```