Giovanni
40ecc2bd78
fix: dispose of watch
effect normally
2024-06-20 15:36:03 +01:00
Giovanni
41a18a1218
fix: clean up recursively in dispose_node
2024-06-20 15:26:55 +01:00
Giovanni
739d1b2e3e
refactor: split a couple of functions
2024-06-20 15:26:37 +01:00
Giovanni
9e6996a59f
fix: untrack around all on_cleanup
s
2024-06-20 15:26:37 +01:00
Giovanni
cca3f1f42d
refactor: rename cleanup_property
-> dispose_property
...
The property and its node are removed entirely, so it's more aligned with `dispose_node` than `cleanup_node`.
2024-06-20 15:26:37 +01:00
Greg Johnston
80bbb20089
Merge pull request #2631 from leptos-rs/2610
...
fix `rkyv` feature interaction with Axum integration
2024-06-14 15:10:26 -04:00
Greg Johnston
33e7ed83cc
fix: specify correct serialization trait in server fn handler ( closes #2610 )
2024-06-14 14:20:50 -04:00
Greg Johnston
dcaa1df63d
fix: derive rkyv traits on ServerFnError
2024-06-14 14:19:54 -04:00
Oto Petřík
8606f3d928
fix: try_with should not panic on disposed resources ( closes #2620 ) ( #2621 )
2024-06-12 20:19:44 -04:00
Thomas Versteeg
32e6ac7bb7
docs: remove duplicated code block in example of For ( #2622 )
2024-06-12 20:11:57 -04:00
ARSON
b22f3bb3bd
fix: extract dyn_bindings impl into DynBindings trait ( #2619 )
2024-06-12 09:07:56 -04:00
Greg Johnston
00a42daa63
Merge pull request #2611 from leptos-rs/failing-ci
...
Fix failing CI
2024-06-02 15:39:58 -04:00
Greg Johnston
ec19c59850
chore: update hackernews_js_fetch
example to latest versions of leptos
and axum
2024-06-02 15:39:01 -04:00
Greg Johnston
b06097d085
chore(ci): fix wasm-pack
installation
2024-06-02 15:38:22 -04:00
Greg Johnston
a59561f796
chore: clippy
2024-06-02 15:37:54 -04:00
Greg Johnston
96b448805d
v0.6.12
2024-06-02 14:08:08 -04:00
Luxalpa
2ef27cb0bb
fix: URL encoding issue ( closes #2602 ) ( #2601 )
2024-06-02 14:06:41 -04:00
SleeplessOne1917
21a6551ce6
feat: allow slice! macro to index tuples ( #2598 )
...
* Allow slice! macro to index tuples
* Undo changes to component tests
---------
Co-authored-by: Greg Johnston <greg.johnston@gmail.com>
2024-05-29 09:07:41 -04:00
Mingwei Samuel
2f4fd87c05
feat: #[component]
now handles impl Trait
by converting to generic type params, fix #2274 ( #2599 )
...
Book needs to be updated to remove this line:
35c380ffc8/src/view/03_components.md (L233)
2024-05-29 09:06:52 -04:00
Hecatron
13ad1b235d
projects: example using the bevy 3d game engine and leptos ( #2577 )
...
* feat: Added example using the bevy 3d game engine and leptos
* fix: moved example to projects
* workspace fix
2024-05-27 15:55:27 -04:00
David Pitoniak
a2c7e23d54
docs: grammar typo for MultiActon doc comment ( #2589 )
2024-05-11 15:05:35 -04:00
Greg Johnston
9e65f71db4
fix: only issue NodeRef warning in debug mode (necessary to compile in --release
) ( #2587 )
2024-05-11 15:05:17 -04:00
Luxalpa
7f4a2926c1
fix: StoredValue and Resource borrowMut error during dispose ( #2583 )
2024-05-11 15:04:57 -04:00
Hecatron
7c5203db19
examples: counter with DWARF debugging (breakpoints and sourcemap) ( #2563 )
...
* feat: Added initial dwarf debug counter example
* fix: update to readme and launch.json, task.json
* fix: fix tasks.json for debugging
* fix: added Trunk.toml to fix the port
* fix: moved example to projects
2024-05-11 15:02:33 -04:00
Greg Johnston
3760ced0ec
fix: allow temporaries as props ( closes #2541 ) ( #2582 )
2024-05-08 19:35:57 -04:00
Greg Johnston
f3f3a053ba
fix: don't insert empty child for comment/doctype ( closes #2549 ) ( #2581 )
2024-05-08 07:19:57 -04:00
Antoine Büsch
6a8e4bb453
Fix empty_docs
warnings in #[component]
macro ( #2574 )
2024-05-06 22:09:19 -04:00
Luxalpa
20f4323e50
feat: allow customize derives for serverfn input struct ( #2545 )
2024-05-06 08:54:29 -04:00
martin frances
47bcee0ef4
docs: improve NodeRef
warning ( #2414 ) ( #2467 )
2024-05-06 08:51:32 -04:00
SleeplessOne1917
ac3b95d35a
examples: use trunk's built-in way of handling tailwind ( #2557 )
...
* Use trunk built-in way of handling tailwind
* Remove package manager from package.json
2024-05-06 08:49:07 -04:00
Greg Johnston
a314a4fcd9
docs: clarify the purpose of local resources ( #2543 )
2024-05-06 08:48:29 -04:00
Sam Judelson
b2a77f06b9
projects: OpenAPI Utopia ( #2556 )
2024-05-06 08:48:09 -04:00
Sam Judelson
9741c41356
projects: added an index to projects
README ( #2555 )
...
The Index gives a high level overview of the projects
2024-05-06 08:47:13 -04:00
Joey McKenzie
4e4a770600
projects: add sitemap demo project ( #2553 )
2024-05-06 08:46:49 -04:00
martin frances
289c02fdac
Minor: examples/server_fns_axum FileWatcher logs errors to the console. ( #2547 )
...
* Minor: examples/server_fns_axum FileWatcher logs errors to the console.
The cause is an assumption that the directory
./watched_files/
exits.
* chore: Now using .gitkeep to preserve directory structure.
2024-05-06 08:45:27 -04:00
itowlson
123d95c34c
Update leptos-spin-macro reference ( #2570 )
...
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
2024-05-02 15:25:22 -07:00
Greg Johnston
da9711a743
docs: add caveats for ProtectedRoute ( #2558 )
2024-05-01 07:06:54 -04:00
Greg Johnston
9353316947
chore: create README for projects
directory
2024-04-19 10:39:58 -04:00
Sam Judelson
2960dada4a
docs: add projects directory with 4 projects ( #2500 )
2024-04-17 19:30:31 -04:00
kryesh
c1ebaf9d04
feat: add create_query_signal_with_options
to leptos_router
( #2517 )
2024-04-17 19:23:33 -04:00
bicarlsen
9a7dbd50eb
feat: ability to use multiple classes in view macro using array syntax. ( #2532 )
2024-04-17 19:04:33 -04:00
Ethan Niser
410225c4d1
docs: remove unnecessary type parameter and trait bound in component macro 'bad' example ( #2520 )
2024-04-17 18:53:18 -04:00
ARSON
8b1c0a7013
feat: spread component attrs ( #2534 )
...
* add `dyn_bindings` builder method to component
* Revert "add `dyn_bindings` builder method to component"
This reverts commit cdd5e0f682
.
* add `dyn_bindings` builder method to component
2024-04-17 14:05:00 -07:00
0e4ef622
6e819737cd
fix: make TextProp's IntoView and IntoAttribute impls reactive ( #2518 )
2024-04-17 14:02:52 -07:00
Adrian
c4560b7e76
Adding Russian book branch ( #2516 )
2024-04-17 13:22:32 -07:00
Greg Johnston
0d20f6aca8
chore: publish Oco
separately as oco_ref
crate so that it can be used elsewhere ( #2536 )
2024-04-16 20:25:34 -04:00
martin frances
158b0bd294
chore(ci): bump trunk-action to 0.5. ( #2533 )
2024-04-16 19:19:01 -04:00
Ben Wishovich
c8186eea13
Add id to ActionForm and MultiActionForm ( #2535 )
2024-04-16 14:52:51 -07:00
Greg Johnston
6141e73436
Merge pull request #2531 from leptos-rs/2523
...
fix: do not submit `<ActionForm>` on `formmethod="dialog"` submission (closes #2523 )
2024-04-15 19:52:06 -04:00
Greg Johnston
03a56f8795
chore(ci): latest nightly
2024-04-15 18:33:06 -04:00