Commit Graph

3527 Commits

Author SHA1 Message Date
Greg Johnston e0f98dc0fd fix: constrain reactive rendering to Fn(), because using dry_resolve() for Suspense requires idempotent render functions so that they can be called once (to register resources) and called a second time to resolve 2024-08-01 19:42:20 -04:00
Greg Johnston 5d9bd8f913 add Debug impl 2024-08-01 19:42:20 -04:00
Greg Johnston 0a41ae9a5e fix: actually concatenate nested routes during route generation 2024-08-01 19:42:20 -04:00
Greg Johnston fbc6be922d reorganize Outlet export 2024-08-01 19:42:20 -04:00
Greg Johnston b5551863fe examples: porting to 0.7 and cleaning up 2024-08-01 19:42:20 -04:00
Greg Johnston 14b3877293 fix merge 2024-08-01 19:41:56 -04:00
Rakshith Ravi 98ea18009d Update import statements in examples (#2625) 2024-08-01 19:41:56 -04:00
Greg Johnston d133cff092 examples: use application 404 page 2024-08-01 19:41:56 -04:00
Greg Johnston 48028b476a chore: cargo fmt 2024-08-01 19:41:56 -04:00
Greg Johnston 404ad50bd3 chore: cargo fmt 2024-08-01 19:41:56 -04:00
Greg Johnston b89fbe027b add warnings if correct features not set for browser 2024-08-01 19:41:56 -04:00
Greg Johnston 0ba53afa08 use `csr` feature so that reactivity runs 2024-08-01 19:41:55 -04:00
Greg Johnston c384b53a0f chore: clippy 2024-08-01 19:41:55 -04:00
Greg Johnston 2f53e09bb6 examples: fix input type so tests work, and update text to make the purpose clearer 2024-08-01 19:41:55 -04:00
Greg Johnston 319eefb169 remove leptos_reactive (moved into reactive_graph and leptos_server) 2024-08-01 19:41:55 -04:00
Greg Johnston 949f43d145 fix: Clone for ArcResource and default to SerdeJson for Resource 2024-08-01 19:41:55 -04:00
Greg Johnston a47759007f chore: clippy 2024-08-01 19:41:55 -04:00
Greg Johnston 095faf15b1 fix: don't dispose of parent owners before Suspense children have been rendered 2024-08-01 19:41:55 -04:00
Greg Johnston f9eb562050 warn if trying to use meta on server side without context 2024-08-01 19:41:55 -04:00
Greg Johnston 7f57b88e8d only run RenderEffects when effects are enabled 2024-08-01 19:41:55 -04:00
Greg Johnston 8a8862be9e add `set_pending` to `<Transition/>` 2024-08-01 19:41:55 -04:00
Greg Johnston 619dc59e1d simplify FlatRoutes logic by using existing OwnedView infrastructure 2024-08-01 19:41:55 -04:00
Greg Johnston 5f49504137 reexport `tick()` for testing 2024-08-01 19:41:55 -04:00
Greg Johnston ca68fa5a3d fix: ensure that `leptos_meta` and `leptos_router` are in SSR mode if using one of the server integrations 2024-08-01 19:41:55 -04:00
Greg Johnston e6a472b467 examples: update hackernews for SSR support 2024-08-01 19:41:55 -04:00
Greg Johnston f8da9e30e0 fix: correctly notify multiple subscribers to same AsyncDerived 2024-08-01 19:41:36 -04:00
Greg Johnston 984ede8887 fix: Routes SSR 2024-08-01 19:41:36 -04:00
Greg Johnston c3656416a2 fix: correct owner for HTML rendering in FlatRoutes 2024-08-01 19:41:36 -04:00
Greg Johnston 7ecfbd9109 testing: provide tick() that can be called anywhere in tests 2024-08-01 19:41:36 -04:00
Greg Johnston 531c39759a testing: provide tick() that can be called anywhere in tests 2024-08-01 19:41:36 -04:00
Greg Johnston f5d06577f4 fix portal tests 2024-08-01 19:41:36 -04:00
Greg Johnston 39902d1e66 fix cleanups in render effects 2024-08-01 19:41:36 -04:00
Greg Johnston 7def5f65ed chore: clippy 2024-08-01 19:41:36 -04:00
Greg Johnston 6b60d48203 update counters_isomorphic 2024-08-01 19:41:36 -04:00
Greg Johnston 9ef51166d3 reexport spawn and spawn_local 2024-08-01 19:41:27 -04:00
Greg Johnston 8da6bbc3be ReadSignal from stream 2024-08-01 19:41:27 -04:00
Greg Johnston 3c39674622 refactor to allow rendering Resource directly in view 2024-08-01 19:41:27 -04:00
Greg Johnston 914b07491e removed AnimatedShow example (duplicates the component docs) 2024-08-01 19:41:27 -04:00
Greg Johnston 1d2d11b83d properly serialize errors 2024-08-01 19:41:27 -04:00
Greg Johnston 07e878adf7 chore: clear warning 2024-08-01 19:41:27 -04:00
Greg Johnston f32d43ce94 pick up on server action error in both server and client 2024-08-01 19:41:27 -04:00
Greg Johnston 65e3c57ed1 fmt and chores in examples 2024-08-01 19:41:27 -04:00
Greg Johnston 2e40bace88 fix: serialize an empty string into HTML so it still works as a text node 2024-08-01 19:41:27 -04:00
Greg Johnston b9945e0ce1 fix: make router fallback lazy 2024-08-01 19:41:27 -04:00
Greg Johnston d7f70214b9 add expect_context 2024-08-01 19:41:27 -04:00
Greg Johnston adf57f5771 fix attr:class when spreading onto a component 2024-08-01 19:41:27 -04:00
Greg Johnston bae79e2b2c add ServerAction error handling for any error type (closes #2325) 2024-08-01 19:41:27 -04:00
Greg Johnston e2b1210461 remove unused import 2024-08-01 19:41:13 -04:00
Greg Johnston 7c24b7482d clean up example 2024-08-01 19:41:13 -04:00
Greg Johnston 25c66a4624 add CollectView 2024-08-01 19:41:13 -04:00