Greg Johnston
6f047a2271
test: add regression test for #4296
2025-09-16 16:22:42 -04:00
Greg Johnston
7c942b8b47
chore: correct name for test
2025-09-16 16:07:00 -04:00
Greg Johnston
d4bf6d9cb6
test: add regression test for #4285
2025-09-15 21:05:12 -04:00
Greg Johnston
1340deee96
chore: typo in name of feature test
2025-08-21 19:20:41 -04:00
Greg Johnston
03529b3992
chore: add regression test for #4005
2025-08-20 21:19:35 -04:00
Greg Johnston
8bfd0ce143
chore: add regression test for #4217
2025-08-20 21:11:16 -04:00
Greg Johnston
d33f5c9e77
feat: allow lazy server functions ( #4169 )
2025-07-24 07:30:05 -04:00
Greg Johnston
ebb33b6f41
Merge remote-tracking branch 'origin' into wasm-splitting-support
2025-07-20 13:09:26 -04:00
martin frances
777b5e1e54
chore: examples - bumped version numbers for sqlx and this error. ( #4126 )
2025-07-19 21:19:32 -04:00
Greg Johnston
897e6ecc26
example: lazy routes in hackernews_axum
2025-07-19 08:53:02 -04:00
Greg Johnston
232b603a25
feat: support both sync and async lazy functions
2025-07-19 08:53:02 -04:00
Greg Johnston
3fdbae4314
Merge remote-tracking branch 'origin' into wasm-splitting-support
2025-07-17 14:07:29 -04:00
Greg Johnston
c7a319db15
nested concurrent lazy routes
2025-07-17 11:21:05 -04:00
Greg Johnston
0d18da720b
fix: rename arguments for lazy routes
2025-07-17 09:27:31 -04:00
Greg Johnston
21fd995468
change: set MSRV to 1.88 (proc-macro spans stabilized = stable hot-reloading)
2025-07-16 18:02:40 -04:00
Greg Johnston
eb9ebc870f
regression tests for #4157 and for https://github.com/leptos-rs/cargo-leptos/issues/546
2025-07-16 07:47:30 -04:00
Greg Johnston
4c1e7dc8c1
add README
2025-07-15 20:43:29 -04:00
Greg Johnston
f1fa4635c7
clippy
2025-07-15 09:37:50 -04:00
Greg Johnston
46c8a11eae
infrastructure for testing with --split
2025-07-15 09:37:45 -04:00
Greg Johnston
b0ee946412
clean up example
2025-07-12 14:08:00 -04:00
Greg Johnston
b505892568
add lazy-routing example
2025-07-12 14:00:19 -04:00
Saber Haj Rabiee
77176f8395
fix(examples): remove redundant cf-worker example ( #4140 )
...
Cloudflare has an official template for leptos https://github.com/cloudflare/workers-rs/blob/main/templates/leptos
2025-07-11 10:35:14 -04:00
Greg Johnston
051059c761
Merge pull request #4115 from leptos-rs/4114-fix
...
Clean up nested routing ownership and add regression tests
2025-07-01 08:32:52 -04:00
Ryo Hirayama
3c540dd858
Add an example to show server_fn is capable to serve on Cloudflare Workers ( #4052 )
...
* Add reqwest-no-ws feature to server_fn
* Add dep:tokio to server_fn/reqwest-no-ws
* Fix
* Refactor reqwest-no-ws feature in server_fn crate for wasm32 support
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Ad cf-worker example
* Fix error messages for trybuild
* Revert "Fix error messages for trybuild"
This reverts commit 42658dd031 .
* Fix CI error by disabling on reqwest-no-ws aslike other feature
* Compact deps and add ci
* Revert all server_fn changes as main
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-30 23:44:12 -07:00
Greg Johnston
ae00e5ae13
test: add regression test for nested context on server
2025-06-30 09:49:16 -04:00
Greg Johnston
1ce671ba08
test: fix signal disposal test
2025-06-30 09:46:22 -04:00
Greg Johnston
ff6ae5de25
test: add regression test for signal disposal issue
2025-06-30 08:49:25 -04:00
Greg Johnston
c21712ba04
chore: simplify element_by_id (see #4121 )
2025-06-29 17:16:51 -04:00
martin frances
e767518142
chore: updated clippy rule affecting stores example ( #4120 )
...
status.done().then_some("line-through").unwrap_or_default()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if status.done() { "line-through" } else { Default::default() }`
2025-06-28 14:53:27 -04:00
Greg Johnston
9c50e49253
test: add regression test for #4088
2025-06-28 14:15:49 -04:00
Greg Johnston
9fd972971e
test: add regression test for back/forward behavior mentioned in #4114
2025-06-27 18:50:28 -04:00
Greg Johnston
9473220639
test: add regression test for #4015
2025-06-27 18:42:30 -04:00
Tommy Yu
adb3e75efc
test: e2e that demonstrates failure
...
- if b37900ec55 from #4091 is reverted the
failure described in the `pr_4091.feature` will no longer happen.
2025-06-27 22:42:40 +12:00
Tommy Yu
f303aa6d5c
test: leptos-rs/leptos#4091 regression
2025-06-27 22:42:40 +12:00
Tommy Yu
73ca3d7b04
Adding a basic regression example
2025-06-27 22:42:40 +12:00
martin frances
d555c1e0ce
Removed crate once_cell ( #4083 )
...
* Removed crate once_cell
As of rust_version 1.80.0 there are now equivalent options in std.
Async and sync changes are as follows.
-use once_cell::sync::Lazy;
+use std::sync::LazyLock;
-use once_cell::sync::Lazy;
+use std::sync::LazyLock;
* ran cargo fmt.
* fixed server_fn errors.
* cargo fmt fixes.
* "use srd::sync" becomes "use std::sync".
* fixed formatting issue.
* formatting issues.
* Fixed error in examples/server_fns_axum
* more formatting issues.
* more formatting issues.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-16 10:38:32 -07:00
Tommy Yu
798d8a4a9e
fix: suspense_test corrected due to previous fix
...
- The `res_overview` previously being tracked inside the async caused an
extra fetch to happen, and with that tracking being corrected, this no
longer happens.
- Left a comment about how this is untracked.
2025-06-11 13:32:32 +12:00
Eric Roman
3903867f82
Fix spelling typos. ( #3965 )
2025-05-17 08:49:57 +02:00
Greg Johnston
1e281e9e74
fix(examples): bugfix revealed a pre-existing bug with meta tags in the hackernews demo!
2025-05-06 11:49:43 -04:00
Eric Roman
61bf87439a
Fix some typos in the documentation/examples for reactive store. ( #3924 )
2025-05-03 20:50:13 -04:00
Saber Haj Rabiee
a7bb2565c4
fix(examples): websocket tests fail (occasionally) second attemp ( #3910 )
...
do not check the label immediately
2025-05-01 14:54:57 -04:00
Greg Johnston
e2f9aca466
Merge pull request #3901 from leptos-rs/3896
...
Fix some island-routing issues
2025-04-30 14:27:31 -04:00
Greg Johnston
970544ed0b
fix: correctly hydrate branches inside islands when using islands-router ( closes #3896 )
2025-04-30 08:48:40 -04:00
nickburlett
6578086e09
fix(examples): incorrect routes in hackernews example ( closes #3892 ) ( #3894 )
...
* fix(examples): incorrect routes in hackernews example (closes #3892 )
1. `Avoid calling category()` twice on the story type.
2. `get_static_file()` returns Err on not found, so don’t
unconditionally `unwrap()` it
* cargo fmt
---------
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2025-04-30 07:43:12 -04:00
Greg Johnston
e2ea4277bc
fix(examples): broken favicons in hackernews examples ( closes #3890 ) ( #3891 )
2025-04-28 09:52:15 -04:00
Saber Haj Rabiee
e70cc08e96
fix(examples): websocket example tests fail on latency
2025-04-26 07:06:50 -07:00
Saber Haj Rabiee
fff6a508fc
feat(examples): add WebSocket example ( #3853 )
2025-04-24 20:17:08 -04:00
Greg Johnston
e65fc23fc7
fix: prevent infinite loop when sending Result over websocket, remove Display bound ( #3848 )
...
* chore: easing `Display` bound on `FromServerFnError`, #3811 follow-up
* fix: send/receive websocket data
* fix: clippy warnings
* fix: server_fn_axum example
* fix: make de/serialize_result functions public
* fix: make websocket result ser/de private
* chore: make the doc a comment and remove allow dead_code
2025-04-23 07:52:42 -04:00
Nikolai Morin
50cb6005a8
chore(examples): complete the migration to Tailwind 4 ( #3861 )
...
The tailwind_csr example was not working yet with version 4, and the
tailwind_actix example still had the no-longer-needed config file.
This also brings the three tailwind examples back in sync, mostly. I
don't know why the axum example has a packages.json and
packages-lock.json file, to be honest.
2025-04-23 07:26:56 -04:00
Saber Haj Rabiee
4d20105760
fix: server_fn_axum example
2025-04-15 09:23:32 -07:00