Commit Graph

2010 Commits

Author SHA1 Message Date
Greg Johnston 2c61613b9e fix release mode 2023-04-04 19:51:58 -04:00
Greg Johnston 5caa457a22 fix: prevent router panic on root-level `<Redirect/>` during route list generation 2023-04-04 17:40:31 -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
Greg Johnston 8bdb427133
fix: improvements "untracked read" warnings in `untrack`, SSR cases (#791) 2023-04-02 15:57:06 -04:00
Patrick Auernig 4c23f3c478
chore: remove unused fs dependency from leptos_config (#787) 2023-04-02 12:29:30 -04:00
Greg Johnston 9502de561b
fix: warnings about untracked signal access in `<Router/>` (#790) 2023-04-02 12:28:58 -04:00
Greg Johnston 210c11a733
docs: add runtime "strict mode" checks that warn if you’re non-reactively accessing a value (#786) 2023-04-01 17:41:25 -04:00
ealmloff 6917027204
fix server functions default macro on stable (#784) 2023-04-01 17:31:56 -04:00
Greg Johnston e78ce7e6b9
feat: `create_blocking_resource` (#752) 2023-04-01 11:25:00 -04:00
Greg Johnston a3327f8841
fix: SVG `<title>` tag (#783) 2023-04-01 11:24:32 -04:00
Greg Johnston f727dd773b
`v0.2.5` (#782) 2023-04-01 11:23:42 -04:00
Greg Johnston 952646f066
Merge pull request #780 from leptos-rs/warn-on-routes-issues
docs: warn if you put something invalid inside `<Routes/>`
2023-03-31 17:13:02 -04:00
Greg Johnston 1e037ecb60
chore: clippy and docs warnings (#779) 2023-03-31 17:12:42 -04:00
Greg Johnston c9f75d82d6 docs: warn if you add something that's not a `<Route/>` inside `<Routes/>` 2023-03-31 16:39:06 -04:00
Greg Johnston de3849c20c example: show how to refactor routes into another component 2023-03-31 16:38:49 -04:00
Christian Rausch c391c2e938
feat: arbitrary attributes to `<Html/>` and `<Body/>` meta tags (#726) 2023-03-31 16:30:10 -04:00
luoxiaozero 1cde4b1f8a
docs: fixed parentheses and formatting issues (#775) 2023-03-31 15:48:29 -04:00
Greg Johnston 42360d109b
change: insert `<head>` metadata tags at the beginning of the head, not the end (#731) 2023-03-31 14:51:27 -04:00
Kaszanas 7aa4d9e6db
feat: Added `<ProtectedRoute/> component to route file (#741) 2023-03-31 14:50:46 -04:00
Kaszanas 9ed3390b81
examples: updated proxy settings in `login_with_token_csr_only` (#771)
When testing this example on Windows OS the initial value of `0.0.0.0:3000` for the IP did not work.
2023-03-31 14:44:06 -04:00
Greg Johnston 1ff56f7bfd
fix: stop memoizing properties in a way that breaks `prop:value` (closes #768) (#772) 2023-03-30 19:44:38 -04:00
Greg Johnston 16917997cd
fix: prevent forms from entering infinite loops (closes issue #760) (#762) 2023-03-30 16:28:49 -04:00
Greg Johnston f42568d262
fix: `<Redirect/>` between nested routes at same level (#767) 2023-03-30 16:28:32 -04:00
Houski 97bbdf561a
feat: added the `id` attribute to the Leptos router `<A/>` tag (#770) 2023-03-30 16:28:08 -04:00
Greg Johnston f4043cbd9f
fix: escape `</script>` and other HTML tags in serialized resources (#763) 2023-03-29 13:51:48 -04:00
Lukas Potthast e9ff26abb4
feat: allow component declaration without `use leptos::Scope` in scope (#748) 2023-03-29 07:59:08 -04:00
Ben Wishovich e6b1298915
feat: add property field to Meta component (#759) 2023-03-28 09:10:00 -04:00
Igor Shevchenko 98a9ec8335
chore(docs): fix a few typos (#756) 2023-03-27 20:06:34 -04:00
jquesada2016 5329561687
feat: add `is_mounted` and `dyn_classes` (#714) 2023-03-27 19:03:59 -04:00
Greg Johnston 89ca047f2f
examples: improve `counter_without_macros` (#751) 2023-03-27 12:50:01 -04:00
Greg Johnston a94711fcf0
fix: correct typecast on `Memo::get_untracked` (closes issue #754) (#755) 2023-03-27 11:28:40 -04:00
Greg Johnston 97d88c65ae
docs: warn when reading resource outside `<Suspense/>` (closes issue #742) (#743) 2023-03-25 14:22:22 -04:00
Jessie Chatham Spencer e482e3748d
docs: document cargo workspace feature resolver footgun (#745)
Due to no rust edition being present in a workspac's Cargo.toml, non
WASM compatible code can end up being built for a WASM target.

This commit documents this error and how to resolve it.
2023-03-25 07:34:28 -04:00
István Donkó 8ab9c08448
docs: fix typo in server_fn docs (#740) 2023-03-24 21:42:27 -04:00
Lachlan Wilger 56de70b714
docs: fix typo (#739)
There was a typo in the section of the docs that pointed towards the hackernews example, so I fixed it by add the word "application."
2023-03-24 21:41:59 -04:00
Greg Johnston 38d97babd8
fix: always run dynamic classes after static classes (closes #735) (#738) 2023-03-24 17:38:34 -04:00
martin frances 4cfecb5d82
chore: bump serde-lite from 0.3 to 0.4. (#737) 2023-03-24 16:54:20 -04:00
Michael Clayton 08b5970b2b
check EventSource value for Ok to avoid unwrap panic (#732) 2023-03-23 18:41:18 -04:00
Greg Johnston af20f80b2b
docs: fix typo in router docs (#730) 2023-03-22 20:44:58 -04:00
Andrew Chang-DeWitt c2fdd2cd70
fix: include missing query params in navigation when `<ActionForm/>` receives a redirect (#728)
Previous solution in #727 included manually inserted `?` when a leading
`?` is present automatically in `Url.search`.
2023-03-22 20:05:21 -04:00
Greg Johnston 286f3eebe4
fix: relative routing should update when navigating between `<Outlet/>`s (closes issue #725) (#729)
* clear some cruft out of the navigation code
* fix issue #725 (correctly reactively resolving paths)
2023-03-22 19:59:08 -04:00
Álvaro Mondéjar 509223ab2e
chore: Upgrade console_log to stable (#724) 2023-03-22 18:21:53 -04:00
Greg Johnston 665b0b8ed2
chore: make `wasm-bindgen` dependency optional in `leptos_reactive` (#723) 2023-03-22 17:56:52 -04:00
Greg Johnston 508ad52582
chore: fix clippy warnings (#721)
* `v0.2.4`

* chore: fix clippy warnings
2023-03-21 18:20:29 -04:00
martin frances cfd5c98f97
clippy: simplify Box::pin() call. (#718) 2023-03-21 09:06:31 -04:00
Greg Johnston 2e63bb1f50
fix: `<Transition/>` behavior (#717) 2023-03-21 09:05:41 -04:00