Commit Graph

1426 Commits

Author SHA1 Message Date
Greg Johnston 1850c28d3a Add `<Link/>` and refactor `<Stylesheet/>` to use it 2023-01-06 16:06:03 -05:00
Greg Johnston 319a058e63 Fix relative route for stylesheet in `hackernews` 2023-01-06 16:06:03 -05:00
Greg Johnston 678e49268f
Merge pull request #248 from gbj/tracing
Adding `tracing` to `leptos_reactive`
2023-01-06 15:18:54 -05:00
Greg Johnston aef589cd24
Merge pull request #249 from gbj/router-tests
Add all the missing `router` tests
2023-01-06 12:49:44 -05:00
Greg Johnston 05ffd8c989 Add all the missing `router` tests 2023-01-06 12:48:45 -05:00
Greg Johnston 1125a5f7cb Additional tracing 2023-01-06 12:30:19 -05:00
Greg Johnston dfba1d9656 Memos 2023-01-06 11:38:03 -05:00
Greg Johnston 96418ed684 Start work on instrumenting `leptos_reactive` 2023-01-06 11:38:03 -05:00
Greg Johnston b010233bb4
Merge pull request #242 from jquesada2016/signal_default
impl `Default` for `SignalSetter<T>`
2023-01-06 10:31:29 -05:00
Greg Johnston 7e28f56f01
Merge pull request #247 from gbj/fix-integration-event-name
Correct `leptos_autoreload` event variable name
2023-01-06 09:50:45 -05:00
Greg Johnston dd35c31db1 Correct `leptos_autoreload` event variable name 2023-01-06 09:50:29 -05:00
Jose Quesada c9ac4ed2b5 added `Signal::default` method 2023-01-06 08:34:15 -06:00
Jose Quesada 7631ce3b09 Revert "added `DefaultSignal`"
This reverts commit a5988c59ee.
2023-01-06 08:26:10 -06:00
Jose Quesada a5988c59ee added `DefaultSignal` 2023-01-05 17:06:06 -06:00
Jose Quesada 9ba807f79b impl `Default` for `SignalSetter<T>` 2023-01-05 15:47:31 -06:00
Greg Johnston 9d8627b337 Merge branch 'main' of https://github.com/gbj/leptos 2023-01-05 11:08:11 -05:00
Greg Johnston 64bf01c59e Reduce CI load with skipped feature sets 2023-01-05 11:08:07 -05:00
Greg Johnston ed023c8970
Merge pull request #239 from gbj/router-off-by-one
Fixes off-by-one error in the router that was causing inappropriate scope disposal
2023-01-05 09:47:39 -05:00
Greg Johnston 13bdef22bd Fixes off-by-one error in the router that was causing inappropriate scope disposal 2023-01-05 09:47:03 -05:00
Greg Johnston 6f49a6c12a
Merge pull request #237 from gbj/additional-meta-tags
Better `leptos_meta` component unloading
2023-01-05 08:20:13 -05:00
Greg Johnston 7db292779b Correct `on_cleanup` import 2023-01-04 22:41:46 -05:00
Greg Johnston e2496e01d0 Correctly hydrate stylesheets, and correctly clean up stylesheets and metadata 2023-01-04 22:39:54 -05:00
Greg Johnston d5bda04306 `<Outlet/>` should dispose of child scopes if it needs to 2023-01-04 22:39:32 -05:00
Greg Johnston 9165242744
Merge pull request #236 from gbj/fix-outlet-hydration-mismatch
Fix `<Outlet/>` hydration mismatch
2023-01-04 22:09:00 -05:00
Greg Johnston 927fe0949f
Merge pull request #235 from gbj/effect-cleanup
Signals were not properly registering themselves as sources for their…
2023-01-04 16:57:29 -05:00
Greg Johnston 459216a30e Fix `<Outlet/>` hydration mismatch 2023-01-04 16:56:47 -05:00
Greg Johnston c7fa041469 Working on disposing metadata tags 2023-01-04 16:56:04 -05:00
Greg Johnston cab7360bef Fix hydration mismatch in `<Outlet/>` 2023-01-04 15:32:39 -05:00
Greg Johnston 159ec4a7bd Signals were not properly registering themselves as sources for their effects, which meant effects were possibly over-running. 2023-01-04 11:29:08 -05:00
Greg Johnston ae40f3134a
Merge pull request #233 from kdwarn/main
Fix links/names to a couple examples
2023-01-04 11:11:04 -05:00
Greg Johnston 3c080e0564
Merge pull request #232 from gbj/custom-events-in-macro
`leptos_macro` improvements to `class:`, `prop:`, `on:`, `:undelegate…
2023-01-04 11:10:19 -05:00
Greg Johnston e8c1bf5055 `#[prop]` docs 2023-01-04 11:10:03 -05:00
Greg Johnston 2a4a5f75c9 Remove unused `doc_comment` crate 2023-01-04 10:42:25 -05:00
Greg Johnston 91b65654d6 Fix typed event docs 2023-01-04 10:40:35 -05:00
Kris Warner dcca6e4e17
Fix name/link for parent_child 2023-01-04 10:25:41 -05:00
Kris Warner 4550545e4f
Fix link/name of counters_stable 2023-01-04 10:18:38 -05:00
Greg Johnston af1a4492e8 `leptos_macro` improvements to `class:`, `prop:`, `on:`, `:undelegated`, and events 2023-01-04 00:25:53 -05:00
Greg Johnston 6b1b4463a0 Fix server docs 2023-01-03 23:22:06 -05:00
Greg Johnston 632267c13a
Merge pull request #231 from gbj/router-changes
Close issue #229 and update router docs
2023-01-03 21:51:22 -05:00
Greg Johnston a349707e1f
Merge pull request #230 from gbj/server-docs-and-debug
Improve docs and debugging tools for server functions (closes #225)
2023-01-03 21:51:10 -05:00
Greg Johnston 84fa6cd3a8
Merge pull request #228 from benwis/responseoptions_helpers
Add a redirect() function and some helpful utility functions for ResponseParts and ResponseOptions
2023-01-03 21:51:00 -05:00
Ben Wishovich 05468d3307 You WILL change your doc comments 2023-01-03 17:33:22 -08:00
Greg Johnston 0da88f39cd Improve docs and debugging tools for server functions (closes #225) 2023-01-03 20:05:47 -05:00
Greg Johnston 5dffb0a803 Document how to modularize/externalize route definitions 2023-01-03 19:38:11 -05:00
Greg Johnston e2a5c2d78f Fix issues with route matching on different sub-routes with same path (closes issue #229) 2023-01-03 19:32:58 -05:00
Greg Johnston ca679ec496 chore: clear warning 2023-01-03 19:06:59 -05:00
Greg Johnston 10282857fe chore: clear warnings 2023-01-03 18:47:21 -05:00
Greg Johnston 263d5b1d89 Allow `path` prop on `<Route/>` to be any type that `impl std::fmt::Display` 2023-01-03 18:37:43 -05:00
Greg Johnston 6a4cbbf266 Specify `html::a` to suppress warning 2023-01-03 16:07:51 -05:00
Greg Johnston 8d14972808 Merge branch 'main' of https://github.com/gbj/leptos 2023-01-03 15:52:33 -05:00