Greg Johnston
a03d74494d
update js-framework-benchmark example
2024-08-01 19:42:20 -04:00
Greg Johnston
131c83e28e
fix test text
2024-08-01 19:42:20 -04:00
Greg Johnston
202abd1d35
suspense_tests: actually wait for other resource in nested case
2024-08-01 19:42:20 -04:00
Greg Johnston
a18dd6dfd7
re-enable all routes
2024-08-01 19:42:20 -04:00
Greg Johnston
96c956efdf
progress on updating suspense tests
2024-08-01 19:42:20 -04:00
Greg Johnston
068865b7de
simplifying todo examples
2024-08-01 19:42:20 -04:00
Greg Johnston
fa8bb15a67
initial work updating suspense tests
2024-08-01 19:42:20 -04:00
Greg Johnston
b109c3e9a3
simplifying and updating server fns example
2024-08-01 19:42:20 -04:00
Greg Johnston
0a559935e7
change name to shell
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
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
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
e6a472b467
examples: update hackernews for SSR support
2024-08-01 19:41:55 -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
6b60d48203
update counters_isomorphic
2024-08-01 19:41:36 -04:00
Greg Johnston
914b07491e
removed AnimatedShow example (duplicates the component docs)
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
bae79e2b2c
add ServerAction error handling for any error type ( closes #2325 )
2024-08-01 19:41:27 -04:00
Greg Johnston
7c24b7482d
clean up example
2024-08-01 19:41:13 -04:00
Greg Johnston
71ddacef8e
Actix todo_app_sqlite
2024-08-01 19:41:13 -04:00
Greg Johnston
caf797dba0
refactor integrations and add Actix integration
2024-08-01 19:41:13 -04:00
Greg Johnston
402d6297f4
fix counters tests
2024-08-01 19:41:13 -04:00
Greg Johnston
770d02d8e6
remove async demo
2024-08-01 19:41:13 -04:00
Greg Johnston
0a99a378aa
feat: allow .write()
on all writeable signals
2024-08-01 19:41:13 -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
4e4deef144
use impl trait in props
2024-08-01 19:41:12 -04:00
Greg Johnston
c360f0ed0d
update wasm-bindgen testing approaches
2024-08-01 19:41:12 -04:00
Greg Johnston
88ab9693db
chore: clearing warnings in examples
2024-08-01 19:41:12 -04:00
Greg Johnston
9666c9c0c5
chore: clear up... a few warnings
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
ce5738d7c4
feat: return Option from AsyncDerived.get() instead of AsyncState
2024-08-01 19:41:11 -04:00
Greg Johnston
47331b5c8d
example: restore ErrorBoundary
2024-08-01 19:41:11 -04:00
Greg Johnston
02f76dec35
fix regular suspense if nothing was read synchronously
2024-08-01 19:41:11 -04:00
Greg Johnston
4d54574f9e
feat: 0.7 slots
2024-08-01 19:41:11 -04:00
Greg Johnston
f6c7ac473a
feat: enhanced spreading syntax
2024-08-01 19:41:11 -04:00
Greg Johnston
24f2e71563
get nested Routes working again
2024-08-01 19:41:11 -04:00
Greg Johnston
8815529955
routing progress indicator
2024-08-01 19:41:11 -04:00
Greg Johnston
4ffa3c46b6
upgrading hackernews example
2024-08-01 19:41:10 -04:00
Greg Johnston
1da84db1aa
feat: nested islands with context for 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
109244b28b
feat: minimal island support in 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
604043b4d8
examples: router in 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
3629302f88
examples: timer in 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
274e31018b
feat: Portals in 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
cebe744a84
support arbitrary attributes on components in view
2024-08-01 19:40:57 -04:00
Greg Johnston
e93a34a2c9
full attribute spreading
2024-08-01 19:40:57 -04:00
Greg Johnston
9ec30d71d2
update counter_without_macros imports
2024-08-01 19:40:57 -04:00
Greg Johnston
89b972e3c5
disable AddAnyAttr again now that I remember why it was broken
2024-08-01 19:40:56 -04:00
Greg Johnston
8dac92b251
reenable AnyAttr
2024-08-01 19:40:56 -04:00
Greg Johnston
b24eaedfe9
reorganizing exports and updating examples
2024-08-01 19:40:56 -04:00
Greg Johnston
4336051f78
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
21dd7e9c76
let ErrorBoundary own the fallback
2024-08-01 19:40:56 -04:00
Greg Johnston
9bab4da172
make Suspend a transparent wrapper
2024-08-01 19:40:56 -04:00
Greg Johnston
420dccda60
provide params properly in FlatRouter
2024-08-01 19:40:56 -04:00
Greg Johnston
e68730d15f
rename TupleBuilder to NextTuple and prep for release
2024-08-01 19:40:56 -04:00
Greg Johnston
ab67bea7ec
rename any_error
2024-08-01 19:40:56 -04:00
Greg Johnston
0beef3b2e0
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
81fc7e6ada
remove twiggy file
2024-08-01 19:40:56 -04:00
Greg Johnston
da4d2cf538
comparison demo
2024-08-01 19:40:25 -04:00
Greg Johnston
2470637b0b
SSR optimizations for binary size, and flat router
2024-08-01 19:40:25 -04:00
Greg Johnston
2934c295b5
work on Axum integration and on error boundaries
2024-08-01 19:40:25 -04:00
Greg Johnston
789eef914d
stash
2024-08-01 19:40:25 -04:00
Greg Johnston
782cb93743
feat: add <A>
2024-08-01 19:40:25 -04:00
Greg Johnston
8642c563d8
add use_navigate and Redirect
2024-08-01 19:40:25 -04:00
Greg Johnston
755fbd3866
preliminary use_navigate work
2024-08-01 19:40:25 -04:00
Greg Johnston
2dd2bb5958
add more hooks and primitives to router
2024-08-01 19:40:25 -04:00
Greg Johnston
ebdd31cd9f
continuing on nested routes
2024-08-01 19:40:25 -04:00
Greg Johnston
13da1e743d
remove TryCatch/fallible rendering in favor of better ErrorBoundary model
2024-08-01 19:40:25 -04:00
Greg Johnston
0c9167fd30
finish todo_app_sqlite_axum
2024-08-01 19:40:25 -04:00
Greg Johnston
883fd57fe1
stash
2024-08-01 19:40:25 -04:00
Greg Johnston
42b99dd912
ErrorBoundary SSR and serialization of errors to support hydration
2024-08-01 19:40:25 -04:00
Greg Johnston
851e1f73fd
get types working with nested ErrorBoundary/Suspense
2024-08-01 19:40:25 -04:00
Greg Johnston
e11eea1af1
probably as far as I can go with the current SuspenseBoundary approach
2024-08-01 19:40:25 -04:00
Greg Johnston
add3be0ff5
Suspense SSR
2024-08-01 19:40:25 -04:00
Greg Johnston
a01640cafd
updates toward todo_app_sqlite
2024-08-01 19:40:25 -04:00
Greg Johnston
e837e9fded
fix stable examples
2024-08-01 19:40:25 -04:00
Greg Johnston
e0e67360aa
implement rendering traits for signals directly on stable
2024-08-01 19:40:25 -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
ec3f0933fe
working on examples
2024-08-01 19:40:25 -04:00
Greg Johnston
b50de3a005
finish TodoMVC example
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
f69dbb48ca
styling with CSS
2024-08-01 19:40:24 -04:00
Greg Johnston
5feaf1aea6
example with isomorphic GTK/web design system
2024-08-01 19:40:24 -04:00
Greg Johnston
ec3ab6a355
gtk example
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
b8b77138ea
GTK example for 0.7
2024-08-01 19:40:24 -04:00
Greg Johnston
2bc04444e1
work related to 0.7 blog port
2024-08-01 19:40:24 -04:00
Greg Johnston
30c1cd921b
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
16bd2942db
navigation between nested routes
2024-08-01 19:40:24 -04:00
Greg Johnston
13cccced06
initial stage for working nested route rendering
2024-08-01 19:40:24 -04:00
Greg Johnston
9cdd8cac15
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
84ebdc1b92
get basic routing working
2024-08-01 19:40:24 -04:00
Greg Johnston
9f02cc8cc1
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
b21f1853c6
work on routing
2024-08-01 19:40:24 -04:00
Greg Johnston
1454c5d272
work on routing
2024-08-01 19:40:24 -04:00
Greg Johnston
9e276a8879
pass on: to components (and lay basis for passing all other attributes)
2024-08-01 19:40:24 -04:00
Greg Johnston
53703f208a
working on AddAttr
2024-08-01 19:40:24 -04:00
Greg Johnston
524ed395fa
parent_child example
2024-08-01 19:40:24 -04:00
Greg Johnston
992e2bce78
finish error boundary (fix last state transition issue)
2024-08-01 19:40:24 -04:00
Greg Johnston
6c2469ec3a
progress on error boundary that works with nested reactivity
2024-08-01 19:40:24 -04:00
Greg Johnston
a7162d7907
progress on error boundary that works with nested reactivity
2024-08-01 19:40:24 -04:00
Greg Johnston
f584154156
error example
2024-08-01 19:40:24 -04:00
Greg Johnston
4bb2bc4797
store effects in reactive system
2024-08-01 19:40:24 -04:00
Greg Johnston
a8adf8eea2
todomvc example
2024-08-01 19:40:24 -04:00
Greg Johnston
1a7da39fb7
work on async demo
2024-08-01 19:40:23 -04:00
Greg Johnston
4df42cbc60
make guard types more nestable/flexible so that we can implement render traits on any of them
2024-08-01 19:40:23 -04:00
Greg Johnston
44a0a0a93a
work on async demo
2024-08-01 19:40:23 -04:00
Greg Johnston
66e1e6d7a1
work on async demo
2024-08-01 19:40:23 -04:00
Greg Johnston
b49a13f8c1
work on async demo
2024-08-01 19:40:23 -04:00
Greg Johnston
ca1e62c0b9
fix: correct owner for rows of For, correct cleanup of arenas
2024-08-01 19:40:23 -04:00
Greg Johnston
68486cfb72
feat: typed event targets
2024-08-01 19:40:23 -04:00
Greg Johnston
eea971b9fe
working on examples
2024-08-01 19:40:23 -04:00
Greg Johnston
0fddfb4823
stash
2024-08-01 19:40:23 -04:00
Saber Haj Rabiee
d50012f8d4
chore: update gloo-net and reqwest to http 1.0 ( closes #2688 ) (leptos 0.6) ( #2751 )
2024-08-01 19:39:54 -04:00
David Karrick
c53fc67d38
feat: Add Compression to Hacker News w/ Islands Example ( #2613 )
...
* Add task for cargo leptos w/ precompression
* Update makefile
* Update deps
* Serve precompressed assets
Code was taken from https://github.com/leptos-rs/cargo-leptos/pull/165#issuecomment-1647843037
Co-authored-by: Sebastian Dobe <sebastiandobe@mailbox.org>
* Dynamically compress html
* Update README
* Refactor: Format for ci
* Refactor: Replace use of format!
* Chore: Remove old build file
* Feat: Hash files
This will prevent users from using an old cached file after updates are made
* Fix: Prevent chicken & egg problem with target/site
* Refactor: Use normal cargo-leptos
---------
Co-authored-by: Sebastian Dobe <sebastiandobe@mailbox.org>
2024-06-28 15:01:05 -04:00
Greg Johnston
ec19c59850
chore: update hackernews_js_fetch
example to latest versions of leptos
and axum
2024-06-02 15:39:01 -04:00
Greg Johnston
b06097d085
chore(ci): fix wasm-pack
installation
2024-06-02 15:38:22 -04:00
SleeplessOne1917
ac3b95d35a
examples: use trunk's built-in way of handling tailwind ( #2557 )
...
* Use trunk built-in way of handling tailwind
* Remove package manager from package.json
2024-05-06 08:49:07 -04:00
Joey McKenzie
4e4a770600
projects: add sitemap demo project ( #2553 )
2024-05-06 08:46:49 -04:00
martin frances
289c02fdac
Minor: examples/server_fns_axum FileWatcher logs errors to the console. ( #2547 )
...
* Minor: examples/server_fns_axum FileWatcher logs errors to the console.
The cause is an assumption that the directory
./watched_files/
exits.
* chore: Now using .gitkeep to preserve directory structure.
2024-05-06 08:45:27 -04:00
Greg Johnston
85a91af7c6
examples: simplify stable syntax for using signals in view
2024-04-09 14:45:19 -04:00
Greg Johnston
f0c1061161
chore(ci): remove nightly feature on counter_isomorphic
( #2510 )
2024-04-09 13:18:37 -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
Greg Johnston
43178b56dc
chore(ci): move example CI over to stable ( #2502 )
2024-04-05 14:55:31 -04:00
Lukas Potthast
119c9ea23f
feat: allow spreading of both attributes and event handlers ( #2432 )
2024-04-05 14:30:34 -04:00
mahmoud-eltahawy
15f8bdd4dc
stable todo_app_sqlite_axum example ( #2493 )
2024-04-04 20:12:45 -07:00
Sam Judelson
ca07d29db5
stable examples change ( #2497 )
2024-04-04 20:11:28 -07:00
Adrian
a82af6110f
ex: counter_url_query; to stable ( #2499 )
2024-04-04 20:09:55 -07:00
Joseph Cruz
03ac6903f2
ci(examples/error-boundary): use stable syntax ( #2496 )
2024-04-04 20:08:50 -07:00
mahmoud-eltahawy
8686d5aabb
stable todomvc example ( #2489 )
2024-04-02 13:38:07 -07:00
Greg Johnston
41f3c46830
chore: bump nightly version in examples ( #2479 )
2024-04-01 15:16:53 -04:00
Ratul
d1560f9e1f
Added missing link for #[server] macro ( #2437 )
...
* Added missing link for #[server] macro
Added missing link for #[server] macro
* Removed spurious entry
2024-03-20 14:24:54 -07:00
martin frances
841d7a690a
chore: examples/tailwind_axum bumped tailwindcss to 3.4.2. ( #2443 )
2024-03-19 09:40:24 -07:00
Richard Laughlin
7ef186f642
For the session_auth_axum example, move the passhash into a separate ( #2446 )
...
non-serializable struct.
This prevents it from being returned in the
get_user() API, and prevents it from being unintentionally returned on any
new API the end-user may create on top of this example code.
2024-03-19 09:35:53 -07:00