aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/solid-dom-fixtures/fragments/code.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-09 16:41:38 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-09 16:41:38 -0800
commit88538b7c2c68fe506d0a20a8f5b78e47c6c60299 (patch)
treee27cae0caf7a42ff82177d38911693fcd3720ce8 /test/bun.js/solid-dom-fixtures/fragments/code.js
parent79138c4c7cb72a5f84c9a81720a73d283d78b1be (diff)
downloadbun-88538b7c2c68fe506d0a20a8f5b78e47c6c60299.tar.gz
bun-88538b7c2c68fe506d0a20a8f5b78e47c6c60299.tar.zst
bun-88538b7c2c68fe506d0a20a8f5b78e47c6c60299.zip
Deprecate very incomplete Solid.js JSX transform
We don't have time to do a good job of this and Bun.plugin makes it possible to use Solid with Bun
Diffstat (limited to 'test/bun.js/solid-dom-fixtures/fragments/code.js')
-rw-r--r--test/bun.js/solid-dom-fixtures/fragments/code.js83
1 files changed, 0 insertions, 83 deletions
diff --git a/test/bun.js/solid-dom-fixtures/fragments/code.js b/test/bun.js/solid-dom-fixtures/fragments/code.js
deleted file mode 100644
index 0b6021e44..000000000
--- a/test/bun.js/solid-dom-fixtures/fragments/code.js
+++ /dev/null
@@ -1,83 +0,0 @@
-const multiStatic = (
- <>
- <div>First</div>
- <div>Last</div>
- </>
-);
-
-const multiExpression = (
- <>
- <div>First</div>
- {inserted}
- <div>Last</div>
- After
- </>
-);
-
-const multiDynamic = (
- <>
- <div id={state.first}>First</div>
- {state.inserted}
- <div id={state.last}>Last</div>
- After
- </>
-);
-
-const singleExpression = <>{inserted}</>;
-
-const singleDynamic = <>{inserted()}</>;
-
-const firstStatic = (
- <>
- {inserted}
- <div />
- </>
-);
-
-const firstDynamic = (
- <>
- {inserted()}
- <div />
- </>
-);
-
-const firstComponent = (
- <>
- <Component />
- <div />
- </>
-);
-
-const lastStatic = (
- <>
- <div />
- {inserted}
- </>
-);
-
-const lastDynamic = (
- <>
- <div />
- {inserted()}
- </>
-);
-
-const lastComponent = (
- <>
- <div />
- <Component />
- </>
-);
-
-const spaces = (
- <>
- <span>1</span> <span>2</span> <span>3</span>
- </>
-);
-const multiLineTrailing = (
- <>
- <span>1</span>
- <span>2</span>
- <span>3</span>
- </>
-);