martin frances
777b5e1e54
chore: examples - bumped version numbers for sqlx and this error. ( #4126 )
2025-07-19 21:19:32 -04:00
Eric Roman
3903867f82
Fix spelling typos. ( #3965 )
2025-05-17 08:49:57 +02:00
Saber Haj Rabiee
f24e804985
fix(CI): toolchain will be determined and test against by CI ( #3778 )
...
* fix(CI): toolchain will be determined and test against by CI
* chore: formatting examples
* fix: clippy
2025-03-23 10:10:52 -07:00
Greg Johnston
713abb3072
chore: ensure WASM target is installed for examples with provided rust-toolchain.toml ( closes #3717 ) ( #3752 )
2025-03-21 16:38:35 -04:00
zakstucke
98e00fcb3b
Erased mode in CI ( #3640 )
...
* Erased mode in CI
* Trigger CI
* Rename dev_mode erased_mode plus add to more matrices
* nested routes in separate component fix
* Fix lint
* Small fixes
* Fixes
* proc-macro rustflags cross-compilation workaround with internal erasure feature for leptos_macro
* Re-trigger CI
* fix unrelated doc CI and remove unneeded IntoAttribute trait
* Fix StaticVec rebuild() fn
* Conflict fixes
* Maybe fix
* Bump example toolchain
2025-03-01 07:43:13 -08:00
Greg Johnston
04e79a0dc4
chore: clean up fetch example a bit
2025-02-25 08:06:47 -05:00
Saber Haj Rabiee
b3e2040ec9
chore: upgrade dependencies ( #2765 )
2024-08-10 20:01:41 -04:00
Greg Johnston
4107203da2
examples: update to Suspend::new()
2024-08-01 19:42:51 -04:00
Greg Johnston
14b7073863
feat: add .by_ref() to create a Future from an AsyncDerived (etc.) that takes a reference, rather than cloning
2024-08-01 19:41:12 -04:00
Greg Johnston
846ff2fefb
feat: return an async guard from .await rather than cloning the value every time
2024-08-01 19:41:12 -04:00
Greg Johnston
e93a34a2c9
full attribute spreading
2024-08-01 19:40:57 -04:00
Greg Johnston
b24eaedfe9
reorganizing exports and updating examples
2024-08-01 19:40:56 -04:00
Greg Johnston
439deea066
suspend!() macro
2024-08-01 19:40:25 -04:00
Greg Johnston
e5f5710f46
add Transition
2024-08-01 19:40:25 -04:00
Greg Johnston
603f9f96c4
working model for Suspense with new version
2024-08-01 19:40:25 -04:00
Greg Johnston
f78e675506
probably as far as I can go with the current SuspenseBoundary approach
2024-08-01 19:40:24 -04:00
Greg Johnston
cc2714c03d
fix ErrorBoundary/Suspense
2024-08-01 19:40:24 -04:00
Greg Johnston
c06110128b
feat: ErrorBoundary and Suspense
2024-08-01 19:40:24 -04:00
Greg Johnston
d7c62622ae
feat: ErrorBoundary
2024-08-01 19:40:24 -04:00
Greg Johnston
c5049ca1bb
working on examples
2024-08-01 19:40:24 -04:00
Greg Johnston
100ed7d926
ErrorBoundary component
2024-08-01 19:40:24 -04:00
Greg Johnston
88b93f40f9
Suspense/Transition components
2024-08-01 19:40:24 -04:00
Greg Johnston
f584154156
error example
2024-08-01 19:40:24 -04:00
Greg Johnston
a8adf8eea2
todomvc example
2024-08-01 19:40:24 -04:00
Greg Johnston
ab1c4ca7a6
chore(ci): run all examples under stable and fix remaining linting issue ( #2503 )
2024-04-05 16:09:23 -04:00
mahmoud-eltahawy
a1a989011a
chore(ci): move all examples to run on stable ( #2501 )
2024-04-05 14:57:48 -04:00
Sam Judelson
ca07d29db5
stable examples change ( #2497 )
2024-04-04 20:11:28 -07:00
Greg Johnston
41f3c46830
chore: bump nightly version in examples ( #2479 )
2024-04-01 15:16:53 -04:00
Joseph Cruz
65b7603192
fix(ci): address clippy issue ( #2278 )
...
* fix(ci): address clippy issue
* fix(ci): add missing nightly specifications
* fix(ci): set all nightly references
* chore(ci): do not lint example crates
2024-02-09 16:30:11 -05:00
webmstk
2d70229608
chore: add rust-toolchain.toml to examples ( closes #2151 ) ( #2161 )
2024-01-07 15:29:54 -05:00
Greg Johnston
b578660624
docs: make it easy to see how to run each example in its README ( #2085 )
2023-11-28 11:47:56 -05:00
Ken
4518d3c89f
Have fetch example conform to docs guidance around using <ErrorBoundary> and <Transition> in conjunction ( #2035 )
...
* put `<ErrorBoundary>` inside `<Transition>`
* fix indentation
2023-11-18 08:24:30 -05:00
Joseph Cruz
e384d53996
doc(examples): reference run instructions ( #1705 )
2023-09-13 19:57:50 -04:00
Joseph Cruz
c11c4b0e3e
build(examples): make it easier to run examples ( #1697 )
...
* build(examples): support process management
* build(examples): manage trunk
* build(examples): manage cargo leptos
* doc(examples): add run instructions
2023-09-12 10:46:16 -04:00
Greg Johnston
dbc707adcd
feat/change: adopt reactive ownership model and drop cx/Scope ( #918 )
2023-08-21 19:31:37 -04:00
Joseph Cruz
8c5ab99fa7
build(examples): pull up compile tasks ( #1417 )
...
* build(examples): pull up compile tasks
* build(examples): set toolchain for compiles tasks
* build(examples): set toolchain for build and check
* build(examples): set toolchain of other examples
2023-07-24 11:35:34 -04:00
Greg Johnston
ee7dbafc85
change: migrate to nightly and csr features rather than stable and default-features = false ( #1227 )
2023-06-26 21:12:14 -04:00
Greg Johnston
966100c2d6
feat: add an anyhow-like Result type for easier error handling ( #1228 )
2023-06-25 15:18:00 -04:00
agilarity
53e09279a2
ci(examples): verify examples ( #1125 )
2023-06-01 22:12:18 -04:00
Matt Joiner
20682e63ef
examples: fix fetch example ( #1096 )
2023-05-25 11:15:47 -04:00
agilarity
3ba4f62cef
fix: lint issues in fetch example ( #989 )
...
* build: add common tasks
* test: resolve check-style issues
2023-05-05 11:24:28 -04:00
Roland Fredenhagen
1011c464dc
feat: add collect_view(cx) ( #956 )
2023-04-28 16:02:24 -04:00
Greg Johnston
8a6d129575
examples: fix error handling in fetch example ( #870 )
2023-04-14 16:13:14 -04:00
novacrazy
4b79a91287
Add profile.release to many examples
2023-04-06 21:53:52 -05:00
Álvaro Mondéjar
509223ab2e
chore: Upgrade console_log to stable ( #724 )
2023-03-22 18:21:53 -04:00
Elliot Waite
a9f778459a
examples: remove duplicate console_error_panic_hook::set_once() calls ( #692 )
2023-03-17 16:27:24 -04:00
Greg Johnston
4ff08f042b
change: pass Scope as argument into Resource::read() and Resource::with() ( #542 )
2023-02-19 19:52:31 -05:00
Greg Johnston
00a796d204
change: tweak API of Errors and implement IntoIter ( #522 )
2023-02-15 14:03:16 -05:00
Greg Johnston
6373fd42fb
Switch examples to check instead of build (for CI resources) and add missing examples ( #437 )
2023-02-01 20:36:37 -05:00
Greg Johnston
b861f84e40
Fix a large number of small issues in docs ( #386 )
...
* Fix example links in docs
* Restore missing CSR READMEs
* Document need to enable features on `leptos_router` and `leptos_meta`
* Add "Is it production ready?" to FAQs
* Document which types are provided as contexts in server integrations
* Fix broken links and other issues in docs
2023-01-26 21:44:01 -05:00