Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: precompile JSX to string transform #162

Merged
merged 64 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
ef9e27c
create module, add failing test
bartlomieju Oct 19, 2023
5db8f13
half way through the basic test case
bartlomieju Oct 19, 2023
2de0cbd
generate <idx> bindings
bartlomieju Oct 20, 2023
a4c388a
handle attributes, start working on dynamic exprs
bartlomieju Oct 20, 2023
1fe4137
concatenate static elements
bartlomieju Oct 20, 2023
d3b72c3
dynamic attributes serialization
bartlomieju Oct 20, 2023
2a424fd
fix: support void elements
marvinhagemeister Oct 20, 2023
d12a74b
support more cases
marvinhagemeister Oct 20, 2023
b70e75c
fix duplicate test
marvinhagemeister Oct 20, 2023
a65d46d
feat: support spread props
marvinhagemeister Oct 20, 2023
8711498
Add more features
marvinhagemeister Oct 20, 2023
d226f16
fixup
marvinhagemeister Oct 20, 2023
e4ce852
chore: minor code cleanup
marvinhagemeister Oct 20, 2023
4c3a6b9
feat: support nested elements
marvinhagemeister Oct 20, 2023
d8aec7c
feat: add support for components
marvinhagemeister Oct 20, 2023
1a46bc3
feat: add automatic import insertion
marvinhagemeister Oct 20, 2023
1df52fd
fix: some linting errors
marvinhagemeister Oct 20, 2023
ff2572b
fix: more linting errors
marvinhagemeister Oct 20, 2023
9d8d936
fix: simplify component output
marvinhagemeister Oct 20, 2023
73d0988
chore: add more tests
marvinhagemeister Oct 20, 2023
016df3b
feat: support spread attributes
marvinhagemeister Oct 21, 2023
f9c4785
fix: add test for jsx member component
marvinhagemeister Oct 21, 2023
b5d442b
feat: support single text children
marvinhagemeister Oct 21, 2023
ea6e672
chore: update old comment
marvinhagemeister Oct 21, 2023
23e5221
chore: fix comment typo
marvinhagemeister Oct 21, 2023
2d86832
fix: void element trailing slash
marvinhagemeister Oct 21, 2023
8552448
chore: minor code cleanup
marvinhagemeister Oct 21, 2023
93b0c87
feat: serialize child expressions
marvinhagemeister Oct 21, 2023
49d5bf8
chore: remove outdated comment
marvinhagemeister Oct 21, 2023
d27e686
fix: typo in comment
marvinhagemeister Oct 21, 2023
3ea2802
feat: switch to attribute function
marvinhagemeister Oct 21, 2023
ad1c8e4
feat: support dangerouslySetInnerHTML
marvinhagemeister Oct 21, 2023
38289e3
fix: prop quoting
marvinhagemeister Oct 21, 2023
3178595
chore: add test for falsy boolean attributes
marvinhagemeister Oct 21, 2023
5cfb6f5
feat: support keys
marvinhagemeister Oct 21, 2023
6d9021d
feat: support nested children
marvinhagemeister Oct 21, 2023
82158a9
chore: Remove unnecessary todos
marvinhagemeister Oct 21, 2023
b945b08
feat: support ref attribute
marvinhagemeister Oct 21, 2023
8dc2477
chore: add notes
marvinhagemeister Oct 21, 2023
1652f38
feat: escape serialized content
marvinhagemeister Oct 21, 2023
20076b1
feat: support namespaced attributes
marvinhagemeister Oct 21, 2023
4ce07d6
chore: update comments
marvinhagemeister Oct 21, 2023
13f3ea1
feat: support nested fragments
marvinhagemeister Oct 21, 2023
12f8e82
fix: some clippy errors
marvinhagemeister Oct 21, 2023
be88325
clippy
bartlomieju Oct 22, 2023
4b5eb53
fmt
bartlomieju Oct 22, 2023
531db6e
add copyright
bartlomieju Oct 22, 2023
ccd359c
feat: add missing attribute normalization
marvinhagemeister Oct 22, 2023
0910c92
fix: key prop not extracted from props
marvinhagemeister Oct 22, 2023
8aadcf2
feat: support bypassing child serialization
marvinhagemeister Oct 22, 2023
33927d7
fix: resolve remaining todos
marvinhagemeister Oct 22, 2023
456c344
fix: clippy
marvinhagemeister Oct 22, 2023
4088d6c
chore: remove outdated todo comment
marvinhagemeister Oct 22, 2023
350dca3
chore: remove another outdated comment
marvinhagemeister Oct 22, 2023
953ef58
fix: don't push null value for jsxssr
marvinhagemeister Oct 22, 2023
1c95f9a
chore: simplify string casting
marvinhagemeister Oct 23, 2023
801d48f
chore: remove old comments
marvinhagemeister Oct 23, 2023
70cabfb
feat: add JsxString::new()
marvinhagemeister Oct 23, 2023
5cd59e0
renames
bartlomieju Oct 23, 2023
147f412
Remove clones
dsherret Oct 23, 2023
e589535
Format
dsherret Oct 23, 2023
e46bfc2
add tests
bartlomieju Oct 24, 2023
4c59143
clippy
bartlomieju Oct 24, 2023
55103fb
fix: Remove skip_child_serialization option
marvinhagemeister Oct 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading