Greg Johnston
63be819533
tests: update benchmarks ( #827 )
...
* tests: add Criterion benchmarking and move reactive benchmarks into `leptos_reactive`
* tests: updated SSR benchmarks
2023-04-07 13:04:26 -04:00
Aaron Karras
af8afb1204
perf: use local pools for axum handlers ( #815 )
2023-04-07 11:35:16 -04:00
Mark Catley
2170be8e01
chore: deny warnings on github actions ( #814 )
...
Enabling on all except for checking examples to start. I'll fix those
and add it as a follow up.
Closes #795
2023-04-07 09:28:48 -04:00
Greg Johnston
1187a506dd
fix: server functions with url
as argument name (closes issue #823 ) ( #825 )
2023-04-07 09:28:31 -04:00
Greg Johnston
ff5ceddbe2
fix: correctly pass server fn errors to client ( #822 )
2023-04-07 08:12:10 -04:00
Greg Johnston
41a5e09caa
docs: add sandbox links and max height ( #824 )
2023-04-07 07:38:12 -04:00
novacrazy
60b96c9118
Couple more inline tweaks
2023-04-07 05:28:50 -05:00
novacrazy
7ccb2d9f44
Simplify SsrMode enum
2023-04-07 05:10:55 -05:00
novacrazy
2c2090a194
Return Cow from as_value_string
2023-04-07 05:09:49 -05:00
novacrazy
de9b2998ac
More inlining
2023-04-07 05:09:24 -05:00
novacrazy
29b81a3d50
Another round of inlining
2023-04-07 01:44:18 -05:00
novacrazy
5bc0d89ce7
Cleanup Comment::new
2023-04-07 00:52:35 -05:00
novacrazy
342b10c232
Use Cow for ErrorKey
2023-04-07 00:52:23 -05:00
novacrazy
ba9d3c1602
Another round of inlining
2023-04-07 00:52:11 -05:00
novacrazy
d3b3ce6980
Cleanup benchmarks
2023-04-06 21:56:24 -05:00
novacrazy
4b79a91287
Add profile.release to many examples
2023-04-06 21:53:52 -05:00
novacrazy
de06c9b2ca
Fix Box<dyn> casts
2023-04-06 21:52:25 -05:00
novacrazy
84c7d00ea9
Use Cow<'static, str>
for Attributes
2023-04-06 21:52:11 -05:00
novacrazy
8f5ae0054d
Second round of inlining
2023-04-06 21:39:29 -05:00
Nova
374f0c4e27
Merge branch 'leptos-rs:main' into main
2023-04-06 21:31:41 -05:00
novacrazy
a6170f4da9
First round of inlining
2023-04-06 21:02:40 -05:00
novacrazy
578dd5ef35
Convert bubbles to associated const for more reliable const-eval and dead-code elimination
2023-04-06 20:55:18 -05:00
novacrazy
934a131deb
Pull out non-generic code from leptos_dom
...
Avoids duplicate codegen
2023-04-06 20:52:13 -05:00
novacrazy
5bc1c36e67
Pull out non-generic code in reactive core
2023-04-06 20:32:59 -05:00
novacrazy
b1b9853f92
Replace with_scope_property with push_scope_property
...
Avoids duplicate codegen
2023-04-06 20:26:58 -05:00
novacrazy
5d6a083d1d
Fix nested batching and improve batch/untrack behavior
2023-04-06 20:22:58 -05:00
Bram
9478245986
docs: remove Leptos guide
link (same as book?) ( #818 )
2023-04-06 20:44:26 -04:00
Bram
4c1c12734a
docs: publish book during CI ( #817 )
2023-04-06 14:09:54 -04:00
Greg Johnston
5d3a360456
fix: correctly escape HTML special characters in text nodes during SSR ( #812 )
2023-04-06 06:52:59 -04:00
novacrazy
b51da35a9a
Remove allocation in ScopeDisposer
2023-04-05 21:21:22 -05:00
novacrazy
164dcd1b97
Cleanup signal clone impl
2023-04-05 21:19:04 -05:00
novacrazy
c0964c2b01
Fast path for linear deeply nested children
2023-04-05 21:17:37 -05:00
novacrazy
af5b226e53
Merge branch 'main' of https://github.com/leptos-rs/leptos
2023-04-05 19:30:06 -05:00
Nova
4e7a0db950
perf: optimize memory usage of update methods ( #809 )
2023-04-05 20:16:53 -04:00
Nova
cee6ed9a9f
perf: optimize Runtime::mark_dirty ( #808 )
2023-04-05 20:16:40 -04:00
Greg Johnston
fa1013f7c3
chore: fix unused variable warning in property now that it's not memoized ( #810 )
2023-04-05 13:20:16 -04:00
novacrazy
3a1db3a191
Merge branch 'main' of https://github.com/leptos-rs/leptos
2023-04-05 08:39:49 -05:00
Ben Wishovich
8b57ba7aa8
feat: add the ability for server fns to be submitted via GET requests ( #789 )
2023-04-05 06:47:17 -04:00
Mark Catley
ea638e37f6
fix: unused warning in reactive signal diagnostics ( #807 )
2023-04-05 06:26:36 -04:00
Nova
4342d45a2f
perf: optimize size of RuntimeId when slotmap is not used ( #805 )
2023-04-05 06:26:17 -04:00
Greg Johnston
fe4d2382b8
fix: prevent router panic on root-level <Redirect/>
during route list generation ( #801 )
2023-04-04 21:36:03 -04:00
Greg Johnston
2a13609eff
fix: fixes #802 as a temporary measure without resorting to #803 yet ( #804 )
2023-04-04 20:50:50 -04:00
Marcus Ofenhed
c2ff1cabf1
feat: Add ability to include options to event listeners ( #799 )
2023-04-04 20:50:35 -04:00
novacrazy
54370e3153
Reduce size of RuntimeId when slotmap is not used
2023-04-04 19:26:57 -05:00
Mark Catley
e72ed26809
fix: warning in Cargo.toml ( #800 )
2023-04-04 19:53:05 -04:00
Greg Johnston
64e056ffa9
docs: warn if you are using leptos_meta
without features ( #797 )
2023-04-03 21:07:43 -04:00
Mark Catley
db9b7db53d
fix: unused warning on cx in server functions ( #794 )
...
When running cargo clippy on server functions that use `cx: Scope` it
has an unused variable error.
It appears that the logic for adding an `#[allow(unused)]` notation is
inverted.
2023-04-03 21:07:30 -04:00
ealmloff
a9e6590b5e
fix: server functions with non-copy server contexts ( #785 )
2023-04-03 07:17:22 -04:00
Greg Johnston
b67121b755
docs: <Form/>
component ( #792 )
2023-04-02 16:50:21 -04:00
Greg Johnston
7bce4de682
fix: issues with nested <Suspense/>
( closes #764 ) ( #781 )
2023-04-02 15:57:43 -04:00