Chris
fcdfd617f5
fix: redundant spans ( #2836 )
...
Per https://docs.rs/quote/latest/quote/macro.quote.html#hygiene
regarding token hygiene.
> Any interpolated tokens preserve the Span information provided by their
> `ToTokens` implementation.
In many instances, the procedural macros are spanning tokens with their
own span redundantly.
2024-08-16 20:25:56 -04:00
Álvaro Mondéjar Rubio
d9c8d4ff66
fix: #[component]
macro attributes propagation ( #2835 )
2024-08-16 20:21:46 -04:00
Greg Johnston
5ed2cc9596
docs: provide an error when you try to create identically-named attributes ( closes #1692 ) ( #2849 )
2024-08-16 20:18:43 -04:00
Greg Johnston
a898d3f2f7
beta2 release
2024-08-14 20:13:14 -04:00
Saber Haj Rabiee
66d7cb5d12
feat: add memo!
macro ( closes #2708 ) ( #2826 )
2024-08-14 06:14:17 -07:00
mahmoud-eltahawy
20af4928b2
chore: use workspace edition for examples and crates ( #2816 )
2024-08-12 19:25:47 -04:00
Greg Johnston
7b62ad44d2
feat: restore hot reloading for 0.7 ( #2775 )
2024-08-12 16:11:30 -04:00
Greg Johnston
27dbadb7d2
fix: allow generic parameters for directive functions ( closes #2808 ) ( #2812 )
2024-08-11 20:37:57 -04:00
Saber Haj Rabiee
b3e2040ec9
chore: upgrade dependencies ( #2765 )
2024-08-10 20:01:41 -04:00
Álvaro Mondéjar Rubio
0ae67cf122
chore: clean up examples ( #2779 )
2024-08-05 21:23:17 -04:00
luoxiaozero
c70009243a
fix: allow svg elements to use inner_html ( #2764 )
2024-08-04 08:14:22 -04:00
Greg Johnston
a0ad927097
fix: generated tests should not use old APIs
2024-08-03 10:48:11 -04:00
Greg Johnston
4845459511
chore: update tests
2024-08-03 10:11:29 -04:00
Greg Johnston
54e4205541
chore: update tests
2024-08-02 11:16:35 -04:00
Greg Johnston
25f0186098
chore: update tests
2024-08-02 10:29:48 -04:00
Greg Johnston
82ea4eb7ce
chore: fix ssr tests
2024-08-02 09:40:18 -04:00
Greg Johnston
34382c0c23
chore: fix ssr tests
2024-08-02 09:24:51 -04:00
Greg Johnston
ac751dd0d3
chore(ci): update nightly
2024-08-01 21:28:19 -04:00
Greg Johnston
bb63a1521e
chore: update tests and doctests
2024-08-01 19:43:10 -04:00
Greg Johnston
3e05b5bcb4
feat: support class =
in view macro
2024-08-01 19:43:09 -04:00
Greg Johnston
24775fb59b
fix: properly handle islands used in the body of other islands ( closes #2725 )
2024-08-01 19:43:09 -04:00
Greg Johnston
260c624461
fix: serializing island props ( closes #2730 )
2024-08-01 19:43:09 -04:00
Greg Johnston
30cf1167f2
fix: correct re-exports for islands with props ( closes #2723 )
2024-08-01 19:43:09 -04:00
Greg Johnston
54401c6f69
beta version
2024-08-01 19:43:09 -04:00
Greg Johnston
634ac1c4a3
chore: clippy and fmt
2024-08-01 19:43:09 -04:00
Greg Johnston
a1ca8549a1
chore: fmt
2024-08-01 19:42:51 -04:00
Greg Johnston
6be090079f
chore: fmt
2024-08-01 19:42:51 -04:00
Greg Johnston
bf8d2e079c
fix: custom elements should support any attribute names
2024-08-01 19:42:50 -04:00
Bruno De Simone
66d6038f2d
add allow too_many_arguments ( #2684 )
2024-08-01 19:42:50 -04:00
Saber Haj Rabiee
e1f3be6416
chore: cargo fmt ( #2672 )
2024-08-01 19:42:50 -04:00
Greg Johnston
fd48a61eef
macro alpha 2
2024-08-01 19:42:50 -04:00
Lucas Åström
ce4fe632a2
Destructuring let
(0.7) ( #2655 )
...
* Use `let()` syntax for bindings
This lets users use destructuring when binding more complex values, and we also get better IDE support.
* Update rstml
2024-08-01 19:42:50 -04:00
Greg Johnston
be92dc56aa
chore: suppress unnecessary .into() warning
2024-08-01 19:42:49 -04:00
Greg Johnston
3ebea79e05
preliminary work on directives (not useful yet until we have an ElementExt that allows you to do things declaratively from an Element
2024-08-01 19:42:49 -04:00
Greg Johnston
adf57f5771
fix attr:class when spreading onto a component
2024-08-01 19:41:27 -04:00
Greg Johnston
6dfea0b0a2
additional warnings
2024-08-01 19:41:12 -04:00
Greg Johnston
9fd881603f
cargo fmt
2024-08-01 19:41:12 -04:00
Greg Johnston
9666c9c0c5
chore: clear up... a few warnings
2024-08-01 19:41:12 -04:00
Greg Johnston
4d54574f9e
feat: 0.7 slots
2024-08-01 19:41:11 -04:00
Greg Johnston
f6c7ac473a
feat: enhanced spreading syntax
2024-08-01 19:41:11 -04:00
Greg Johnston
1766bfedb9
default to Params::get() giving an owned value (which you want in a derived signal), but use reference in the macro
2024-08-01 19:41:11 -04:00
Greg Johnston
bb7bb8f4c2
allow let:
syntax to work
2024-08-01 19:41:11 -04:00
Greg Johnston
109244b28b
feat: minimal island support in 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
cebe744a84
support arbitrary attributes on components in view
2024-08-01 19:40:57 -04:00
Greg Johnston
e93a34a2c9
full attribute spreading
2024-08-01 19:40:57 -04:00
Greg Johnston
4336051f78
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
97ce5adb8e
fix reorganized exports
2024-08-01 19:40:56 -04:00
Greg Johnston
0beef3b2e0
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
2dd2bb5958
add more hooks and primitives to router
2024-08-01 19:40:25 -04:00
Greg Johnston
c8e5e1b16b
experimental sledgehammer Renderer backend
2024-08-01 19:40:24 -04:00