Greg Johnston
38daaf3b72
chore: apply cargo machete
systematically ( #671 )
2023-03-13 10:16:20 -04:00
Greg Johnston
b55e9a9e64
v0.2.3
: fix broken stable support (#670 )
2023-03-13 07:25:08 -04:00
Greg Johnston
591212a56a
feat: add fragment support for hot reloading and fix some stuff ( #659 )
2023-03-11 07:21:37 -05:00
Ben Wishovich
1a3c1e9e52
feat: provide Request<_>
in context for Axum, enabling easier extractor use ( #632 )
2023-03-10 17:28:32 -05:00
Greg Johnston
1f95eb1e1d
chore: typo (closes issue #645 ) ( #646 )
2023-03-08 19:52:51 -05:00
martin frances
a13468228a
Bumped tower-http upto 0.4. ( #638 )
2023-03-07 14:03:54 -05:00
jo!
369ea8531f
examples: add session_auth_axum
( #589 )
2023-03-06 21:16:56 -05:00
Greg Johnston
55ce805b60
feat: hot reloading support for cargo-leptos
( #592 )
2023-03-04 09:04:22 -05:00
Greg Johnston
bd86125629
feat: allow easier client-side form validation ( closes #413 ) ( #620 )
2023-03-03 13:19:54 -05:00
Greg Johnston
04eae63e39
examples: include missing examples in CI ( #598 )
2023-02-28 15:33:02 -05:00
Brendon Otto
4b98ece2b4
example: update README.md ( #595 )
...
Incorrect framework referenced
2023-02-28 09:45:10 -05:00
Thomas Kratz
ab6ddc1194
fix: make counter test compile ( #588 )
2023-02-27 21:50:12 -05:00
Azz
b153ab51ee
feat: support rkyv
encoding ( #577 )
2023-02-26 16:12:53 -05:00
tanguy-lf
e576d93f83
examples: add ssr_mode_axum
( #575 )
2023-02-25 11:24:24 -05:00
Markus Kohlhase
0301c7f1cf
example: Login with API token (CSR only) ( #523 )
2023-02-24 17:11:58 -05:00
Fangdun Tsai
e9c4b490e5
feat: viz integration ( #506 )
2023-02-21 12:29:15 -05:00
Greg Johnston
cc2b310e4c
docs: add example of <ButtonC on:click/>
syntax ( #558 )
2023-02-20 15:41:56 -05:00
Thomas Versteeg
884348d7f8
doc: fix button name in parent_child example ( #555 )
2023-02-20 14:53:04 -05: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
59ad6a4725
revert accident
2023-02-18 16:03:20 -05:00
Greg Johnston
884dacbc6c
fix example
2023-02-18 16:02:19 -05:00
Dmitrii Kuzmin
9c572f7617
fix(examples): hackernews_axum styles href ( #536 )
2023-02-18 15:17:54 -05:00
jquesada2016
f2f52b2533
change: move signal method implementations into traits in signal prelude ( #490 )
2023-02-18 07:30:03 -05:00
Greg Johnston
586f524015
feature: in-order streaming and async
rendering ( #496 )
2023-02-17 17:31:32 -05:00
Greg Johnston
00a796d204
change: tweak API of Errors
and implement IntoIter
( #522 )
2023-02-15 14:03:16 -05:00
Greg Johnston
1dbcfe2861
change: reorganize module exports and reexports ( #503 )
2023-02-12 17:04:36 -05:00
Greg Johnston
db3f46c501
Add docs on testing ( closes #489 ) ( #508 )
2023-02-12 17:03:12 -05:00
Greg Johnston
1cba54d47e
fix: <For/>
in todomvc
example ( #504 )
2023-02-11 16:30:09 -05:00
jquesada2016
d4648da5c6
chore: add workspace rustfmt.tml
( #483 )
2023-02-11 14:25:55 -05:00
Greg Johnston
cf7deaaea3
fix: proper disposal of nested route scopes ( #499 )
2023-02-11 14:12:59 -05:00
Greg Johnston
ce2c3ec97c
examples: remove unused index.html
( #497 )
2023-02-10 08:02:26 -05:00
Greg Johnston
73420affed
Basic error boundary example
2023-02-08 20:32:59 -05:00
Greg Johnston
c24874d9c8
change: add Scope
to view function in <For/>
to avoid memory "leak" ( #492 )
2023-02-08 20:28:04 -05:00
jquesada2016
765006158a
change: NodeRef<HtmlElement<Div>>
generics to NodeRef<Div>
( #481 )
2023-02-07 20:13:25 -05:00
Greg Johnston
8a1adaefaf
fix: typed route params with #[derive(Params)]
( #488 )
2023-02-07 17:28:46 -05:00
Greg Johnston
a2b31a51d9
fix: errors on 404 page in axum_errors
example ( #485 )
2023-02-07 09:51:52 -05:00
Greg Johnston
6931d3904b
remove unnecessary "openssl"
feature from Actix examples ( #480 )
2023-02-06 09:10:09 -05:00
Ben Wishovich
76aeb573bf
fix: convert site_address
to site_addr
to match cargo-leptos
( #462 )
2023-02-04 16:37:41 -05:00
Greg Johnston
4034aa9c11
feature: add isomorphic <Redirect/>
component ( closes #412 ) ( #466 )
2023-02-04 10:02:17 -05:00
Tobias Goulden Schultz
aae4d4445e
fix: update leptos dependencies to point to the same workspace as other examples ( #449 )
2023-02-02 23:24:22 -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
IcosaHedron
63a7a4dec1
Several Minor Updates on Examples ( #427 )
2023-02-01 19:20:34 -05:00
Greg Johnston
cbf2f73e95
fix: HTML entity issues in axum_errors
example ( #424 )
2023-01-31 23:39:31 -05:00
Ben Wishovich
160f336303
Update ErrorBoundary to use miette::Diagnostic instead of Error, and various other tweaks ( #401 )
...
* Switch RwLock to parking_lot so they are no longer async
* cleanup todo_app_sqlite_axum
* add errors_axum example
---------
Co-authored-by: Indrazar <110272232+Indrazar@users.noreply.github.com>
2023-01-31 21:56:42 -05:00
Greg Johnston
f8b76387ec
Fix labels in parent_child
README
2023-01-28 21:52:16 -05:00
Thomas Queiroz
72fe3d45f0
Fix gtk example
2023-01-28 01:14:02 -03:00
Greg Johnston
8d60a191eb
Missing Storage
dependency (now that gloo
is gone)
2023-01-27 15:36:20 -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
Greg Johnston
44974fcf69
Replace site-address
with site-addr
in cargo-leptos
example Cargo.toml
files
2023-01-26 19:52:47 -05:00
Markus Kohlhase
154e42f3f4
Add a counter example that does not use macros ( #373 )
2023-01-25 21:10:16 -05:00
IcosaHedron
f2e7b00d5a
Fix CSR with Trunk on hackernews example, remove CSR option from isomorphic example ( #369 )
...
* Fix CSR with Trunk on hackernews example
* Update isomorphic example to remove CSR from Readme
2023-01-25 20:15:12 -05:00
Ben Wishovich
9b0fb63632
Add methods to take Actix/Axum Extractors/Route Info/Stuff and pass it to Leptos ( #359 )
2023-01-23 07:28:05 -05:00
benwis
81ab77e8ea
One more time!
2023-01-21 11:54:55 -08:00
benwis
23bd399239
I did, I did break it
2023-01-21 11:25:36 -08:00
benwis
3e04318082
Remove extra
2023-01-21 10:58:47 -08:00
benwis
9ea604f516
Merge branch 'main' into error-handling
2023-01-20 15:53:18 -08:00
benwis
b5ab7b107a
Test of SSR/Hydration of ErrorBoundary
2023-01-20 15:52:43 -08:00
Greg Johnston
a49dfd3f8e
Merge pull request #344 from leptos-rs/view-ssr
...
Reenable optimizations for SSR using the `view!` macro
2023-01-20 15:14:06 -05:00
Kompreni
bcabdddce5
doc: add link for leptos watch
2023-01-20 20:14:09 +01:00
Greg Johnston
9ac0f0a579
Fix todomvc
2023-01-20 12:18:31 -05:00
benwis
64add54de6
Add example error template and give the ability to access error info
...
inside it
2023-01-19 14:57:34 -08:00
benwis
ac343427e7
Remember all the files
2023-01-18 23:21:08 -08:00
benwis
452e397048
Made todo_app_sqlite_axum throw an error
2023-01-18 16:47:22 -08:00
benwis
ad3ac5ad3c
Remove silly thing
2023-01-18 16:03:53 -08:00
benwis
3215e44c9a
Create example of file_and_error handler for Axum, and create <ErrorBoundary/>
...
for leptos
2023-01-18 12:59:15 -08:00
Greg Johnston
40155e91ea
cargo fmt
fix
2023-01-17 12:43:27 -05:00
Greg Johnston
5c062fa6f1
Add use_navigate
in router
example
2023-01-17 12:40:54 -05:00
ekanna
ce0910caca
Updated example code and README to use latest syntax for data binding
2023-01-17 12:08:44 +05:30
benwis
10a833d763
Switch get_configuration calls to None and add a note in the docs for
...
uses of get_configuration()
2023-01-15 12:50:25 -08:00
hakesson
884297706a
Search https://github.com/gbj/ and replace with https://github.com/leptos-rs/
2023-01-13 09:03:11 +01:00
Greg Johnston
ace5e7cbba
Add missing hackernews_axum
makefile
2023-01-09 21:59:00 -05:00
Greg Johnston
c8f0988e53
Merge pull request #292 from gbj/router-warnings
...
Implement `state` and `replace` correctly in `leptos_router` and clear warnings
2023-01-09 21:11:28 -05:00
Greg Johnston
64f0f8879b
Implement state
and replace
correctly in leptos_router
and clear warnings
2023-01-09 21:10:42 -05:00
Greg Johnston
992b218ffe
Merge pull request #291 from gbj/correct-axum-query-handling
...
Correct Axum query handling
2023-01-09 20:44:58 -05:00
Greg Johnston
c050456a47
Use a runtime warning about SVG <a/> instead of a macro warning on all ambiguous tags
2023-01-09 20:31:51 -05:00
Greg Johnston
f5f345e623
Merge pull request #286 from benwis/favicons
...
FAVICON!
2023-01-09 19:57:27 -05:00
benwis
ee647cba1c
Add Favicons to all the examples and standardize on the public folder for public assets
2023-01-09 15:27:52 -08:00
Martin
4d21f5ac63
simple_logger use version 4.0.0 everywhere.
2023-01-09 21:43:48 +00:00
Greg Johnston
28ec3a6cda
Merge pull request #281 from martinfrances107/hackernews_axum
...
Minor: Clippy fixes related to hackernew_axum.
2023-01-09 07:02:43 -05:00
Greg Johnston
8b92a561a3
Merge pull request #269 from benwis/generated_routes
...
Generate Routes and pass them to Actix/Axum
2023-01-09 07:02:11 -05:00
Martin
e490c0423f
Minor: Clippy fixes related to hackernew_axum.
2023-01-09 09:54:39 +00:00
benwis
b6579a040a
Warning Squashing
2023-01-08 19:41:22 -08:00
benwis
01e024b726
One more time!
2023-01-08 19:38:45 -08:00
benwis
6603c44ce2
Minor fixes and revisions
2023-01-08 19:36:24 -08:00
benwis
6b729f9131
Fix hackernews_axum example
2023-01-08 14:51:41 -08:00
benwis
dc60c35b58
Rewrite file handlers for Axum, and update all examples to use the new
...
generated routes. Fix a few issues in the integrations, and reduce the
number of warnings
2023-01-08 14:18:51 -08:00
Greg Johnston
32ec9cc57e
Prevent create_signal_from_stream
from panicking on SSR
2023-01-08 17:09:04 -05:00
Martin
67503a108d
BugFix.
2023-01-08 15:28:30 +00:00
Martin
ef52a01838
examples/hackernews - Cargo clippy fixes.
2023-01-08 13:33:53 +00:00
benwis
c41cf879d1
Formatting
2023-01-07 15:44:35 -08:00
benwis
b34f2070d3
Remove extraneous route
2023-01-07 15:09:49 -08:00
benwis
7fa21defa6
Merge remote-tracking branch 'origin/generated_routes' into generated_routes
2023-01-07 15:08:12 -08:00
benwis
bdd9abc04d
Removing some missed code and changing the stylesheet
2023-01-07 15:06:21 -08:00
Ben Wishovich
1d25134213
Merge branch 'main' into generated_routes
2023-01-07 14:58:26 -08:00
benwis
5d3cfc6483
Actix seems to be working now, plus applied Henrik's path recommendations
2023-01-07 14:49:25 -08:00
Greg Johnston
8915e2615b
Adjust default features for meta
and router
2023-01-07 14:43:32 -05:00
Greg Johnston
05d2eb8ce0
Improve CI disk space usage
2023-01-07 07:43:52 -05:00
benwis
677e4f2540
Leptos can now generate routes and provide them to the Axum router. More
...
testing and Actix version to come
2023-01-06 19:52:38 -08:00
benwis
63b1837315
First pass of method to generate routelist
2023-01-06 14:08:45 -08:00
Greg Johnston
319a058e63
Fix relative route for stylesheet in hackernews
2023-01-06 16:06:03 -05:00
Greg Johnston
a2943c4649
Fix counters_isomorphic
2023-01-02 18:37:10 -05:00
Greg Johnston
411fc51ea2
Clean up examples
2023-01-02 16:20:05 -05:00
Greg Johnston
e714cac0ec
Add missing makefiles
2023-01-02 16:19:52 -05:00
Greg Johnston
7f21ee97a8
Fix counter_isomorphic
import
2023-01-02 13:34:56 -05:00
Greg Johnston
0ed56d382d
Add build-examples
task to cargo make
CI
2023-01-02 13:29:37 -05:00
Greg Johnston
3a5e3aea99
Small fixes to Tailwind example
2023-01-01 08:09:24 -05:00
Ben Wishovich
827b787c91
Bugfixes, using cargo-leptos for CSS, and updating READMEs.
2022-12-31 18:39:05 -08:00
Ben Wishovich
01c00eee6b
Update SSR Readmes with new instructions
2022-12-31 16:06:54 -08:00
Ben Wishovich
f45d33db73
Move the examples out of the workspace, and standardize naming. All of the SSR examples now work with cargo-leptos
2022-12-31 15:52:19 -08:00
Ben Wishovich
60f0bf23fd
Merge branch 'main' into cargo-leptos-release-testing
2022-12-30 16:17:50 -08:00
Ben Wishovich
442dc1e041
More changes to the examples
2022-12-30 16:17:17 -08:00
Greg Johnston
04c85d6eb0
Fix Axum example
2022-12-30 16:55:50 -05:00
Greg Johnston
71d278927b
Update examples to new action APIs
2022-12-30 15:44:25 -05:00
Ben Wishovich
8eaa0b0c15
Merge branch 'main' into cargo-leptos-release-testing
2022-12-30 11:04:43 -08:00
Ben Wishovich
c3fbf13ef3
No leading slashes, and a working todo-app-sqlite example. Improved config section detection
2022-12-30 11:01:01 -08:00
Ben Wishovich
1f1d675d17
Basic cargo-leptos test
2022-12-29 16:42:05 -08:00
Greg Johnston
9bde885b9d
Fix suspense in story page
2022-12-29 19:28:10 -05:00
Greg Johnston
383f8a409d
Add <Suspense/>
to story and user pages
2022-12-29 19:17:35 -05:00
Greg Johnston
cc48ff72ad
Prep for stable
support
2022-12-29 18:21:24 -05:00
Greg Johnston
b2cf953c07
Example fix
2022-12-29 18:21:18 -05:00
Greg Johnston
94af8f26ca
Fix site-root
2022-12-29 17:39:08 -05:00
Greg Johnston
19dabb6b6a
Clear up warnings in the example
2022-12-29 17:39:04 -05:00
Greg Johnston
15b5f7545a
Use <Transition/>
here for that silky-smooth optimistic UI update
2022-12-29 17:35:46 -05:00
Greg Johnston
5d8d5d9910
SocketAddr
? I hardly know her! (missing import from merge)
2022-12-29 16:01:37 -05:00
Greg Johnston
70f6297277
Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into jquesada2016-leptos_dom_v2
2022-12-29 09:32:12 -05:00
Greg Johnston
e595d35c8b
Fix CSS location for hackernews-axum
2022-12-29 08:50:43 -05:00
Greg Johnston
f47fad3ed5
Merge pull request #177 from benwis/cargo-leptos-beta
...
Changes to leptos, leptos_meta, leptos_actix/leptos_axum, and leptos_config to support cargo-leptos-beta
2022-12-29 07:48:38 -05:00
Greg Johnston
e8424138ce
Fix TOML
2022-12-28 15:06:52 -05:00
Greg Johnston
4b1fce4c9c
Revert "Merge branch 'main' into pr/119"
...
This reverts commit 63f680f37d
, reversing
changes made to 50ba796f49
.
2022-12-28 15:06:46 -05:00
Greg Johnston
fd2a2bd5f4
Fixing merge issues
2022-12-28 14:51:01 -05:00
Greg Johnston
d64ca366fc
Fix merge
2022-12-28 14:22:03 -05:00
Greg Johnston
63f680f37d
Merge branch 'main' into pr/119
2022-12-28 14:21:54 -05:00
Greg Johnston
e3c4e9f6a4
chores: fix failing tests, update docs, suppress warnings
2022-12-28 11:33:26 -05:00
Greg Johnston
dac69b9802
Port hackernews-axum
2022-12-28 08:53:05 -05:00
Ben Wishovich
f8f0d9fae0
Merge branch 'main' into cargo-leptos-beta
2022-12-27 12:49:17 -08:00
Ben Wishovich
be94c1b846
Update examples to camelcase and add missing fields for feature flags. Should be working with cargo-leptos beta again
2022-12-27 10:58:05 -08:00
Greg Johnston
86df770dad
chores: getting tests fixed, etc.
2022-12-25 22:53:52 -05:00
Matt Crane
587a85baaf
Fix erros in counter-isomorphic with stable
2022-12-24 12:13:35 -08:00
Greg Johnston
bf9587c349
Attempt at Transition
2022-12-24 07:39:43 -05:00
Greg Johnston
8c4dcbeddc
Fix paths for imports
2022-12-23 17:05:52 -05:00
Greg Johnston
48e1d6cfab
Recursive components allowed
2022-12-23 17:00:52 -05:00
Greg Johnston
a4740d6c06
Remove web
by default
2022-12-23 17:00:42 -05:00
Greg Johnston
c24958bec4
Fix paths in hackernews
example
2022-12-23 14:35:02 -05:00
Greg Johnston
50c9c38b7d
Fix JS path
2022-12-23 14:24:59 -05:00
Greg Johnston
629ac01484
merge todo-app-sqlite-axum
2022-12-23 14:23:38 -05:00
Greg Johnston
f17f651986
Clean up example
2022-12-23 13:30:22 -05:00
Greg Johnston
4839bfbb29
Tailwind example ported
2022-12-23 13:10:45 -05:00
Greg Johnston
6354b79588
Use Transition
in example
2022-12-23 11:34:20 -05:00
Greg Johnston
0bf52c95bb
Make sure --debug
is noted in examples so hydration matches
2022-12-22 21:24:36 -05:00
Greg Johnston
89aa02af19
Update counter
example
2022-12-22 21:21:17 -05:00
Greg Johnston
d158c34d24
Transition back to Transition
in hackernews
2022-12-22 20:55:38 -05:00
Greg Johnston
6cf5d0a403
<Route element=...
=> view=...
2022-12-22 20:54:52 -05:00
Ben Wishovich
ac489e7523
Who let me near the computer before coffee?
2022-12-22 08:42:16 -08:00
Ben Wishovich
0909f60e55
Remove redundant env check and add path option to get_configuration()
2022-12-22 08:39:04 -08:00
Ben Wishovich
5ec76682a7
Fix Websockets Code and re-enable optimizations in tailwind. Remove watch as a param
2022-12-21 23:54:48 -08:00
Ben Wishovich
428999fd14
Updated all the examples to use the new leptos_options, and make cargo-leptos porting easy. Refactored the Tailwind example to bring it closer to leptos norms
2022-12-21 23:08:39 -08:00
Greg Johnston
ce84632c39
Update NodeRef
to be generic over typed HTML elements
2022-12-21 21:15:48 -05:00
Sarah Allen
cd59bf5a10
fix warning, set initial value of counter
2022-12-21 07:11:15 -08:00
Greg Johnston
2f218e7428
Small changes to examples
2022-12-21 07:56:33 -05:00
Greg Johnston
7ca131c5b8
Work on hydration examples
2022-12-19 22:45:12 -05:00
Greg Johnston
9a2035f1e1
Relocate view-tests
into leptos_dom
2022-12-19 20:11:25 -05:00
Greg Johnston
df8e50e85a
Update TodoMVC example
2022-12-19 20:10:15 -05:00
Greg Johnston
8be33ccd7c
Updating todo-app-sqlite
example (todo: fix hydration)
2022-12-19 16:25:24 -05:00
Greg Johnston
d6920847ca
Fix tests in counter
example
2022-12-19 16:14:46 -05:00
Greg Johnston
c63c8728a7
Clear warnings in router
example
2022-12-19 07:41:50 -05:00
Greg Johnston
fc8921445e
Update parent-child
example
2022-12-18 17:12:06 -05:00
Greg Johnston
80287f7a61
Merge pull request #174 from nim65s/main
...
Fix example tailwind
2022-12-17 19:43:52 -05:00
Guilhem Saurel
218faed341
Fix example tailwind
...
fix:
╰─>$ cargo leptos watch
Error: at `…/cargo-leptos-0.0.9/src/main.rs@104:58`
Caused by:
no css/sass/scss file found at: "style/output.css"
2022-12-17 23:33:18 +01:00
Ben Wishovich
186e2454b0
Fix DBs
2022-12-16 17:37:17 -08:00
Ben Wishovich
6fa15a5584
Cleanup of testing files
2022-12-16 17:35:32 -08:00
Ben Wishovich
2d289dd2b6
Actix version, but the issue is the same
2022-12-16 13:18:35 -08:00
Ben Wishovich
21274c08bf
Hmmmm
2022-12-15 22:07:11 -08:00
Ben Wishovich
7a8b08d149
Broken in a new way
2022-12-15 15:57:41 -08:00
Ben Wishovich
0bc29b5f26
Closer maybe?
2022-12-15 14:12:54 -08:00
Ben Wishovich
f9bda65dbe
WIP impl of SSR Header/Status setting
2022-12-15 13:14:02 -08:00
Ben Wishovich
8a85d4261a
Fix Todo DB
2022-12-14 11:20:53 -08:00
Ben Wishovich
90849cc6e3
Add working example of Actix/Axum Header and Status Setting
2022-12-14 10:55:05 -08:00
Ben Wishovich
9f97497e48
Working impl of Request access and Response cookies for Axum
2022-12-13 22:07:15 -08:00
Ben Wishovich
70f2b3b4d3
More fiddling, still no dice
2022-12-13 16:05:31 -08:00
Ben Wishovich
181a15cf66
WIP axum acces to request
2022-12-13 15:23:47 -08:00
Greg Johnston
4134d2f924
Working on router
example
2022-12-13 14:20:58 -05:00
Greg Johnston
92335989b7
Don't overwrite MetaContext
from integration
2022-12-12 20:55:57 -05:00
Greg Johnston
6b6c54e8ff
Updating hackernews example
2022-12-12 13:40:05 -05:00
Greg Johnston
c481e465b0
Update counter-isomorphic
2022-12-12 09:26:13 -05:00
Greg Johnston
073bd759b0
Add .gitignore
2022-12-12 09:25:57 -05:00
Greg Johnston
88435af844
Update counter-isomorphic
example
2022-12-12 09:25:47 -05:00
Greg Johnston
86d5f4c2e4
Update <For/>
in example
2022-12-11 20:21:07 -05:00
Greg Johnston
43ffa1bcd7
Use Fn() -> Fragment
for component children, and update router and Suspense/Transition
2022-12-10 22:12:08 -05:00
Greg Johnston
a53f7ccdb7
Update Suspense
and Transition
with new impl IntoView
pattern
2022-12-10 19:51:41 -05:00
Greg Johnston
b7bd4fc69c
Update Counters
example
2022-12-10 19:51:30 -05:00
Greg Johnston
90de653a60
Concrete return types work
2022-12-10 19:28:11 -05:00
Greg Johnston
bcb130deca
Working on router
2022-12-10 09:15:05 -05:00
Greg Johnston
000d796149
Update router example
2022-12-10 08:32:19 -05:00
Greg Johnston
46e77d72ea
Add transition
2022-12-09 22:23:42 -05:00
Greg Johnston
ba34a9644e
Work on Suspense
2022-12-09 18:27:32 -05:00
Greg Johnston
0b448daf3a
Fix SimpleCounter
example in tests
2022-12-09 14:58:53 -05:00
Greg Johnston
f6eceaeaf9
Update counters
exaple
2022-12-09 14:56:50 -05:00
Greg Johnston
c01dba5138
Merge pull request #160 from gbj/component-documentation
...
Allows documenting `Component` and `ComponentProps` in a single doc comment
2022-12-09 14:27:36 -05:00
Greg Johnston
50b0fe157a
Fix example test
2022-12-09 13:34:35 -05:00
Greg Johnston
b56dde9a6d
Add working Tailwind example per issue #147
2022-12-09 13:05:20 -05:00
Greg Johnston
b8559d4335
Transition counter
example to use View
2022-12-08 19:33:01 -05:00
Greg Johnston
aca2c131d4
Add the ability to document Component
and ComponentProps
in a single doc comment.
2022-12-08 17:08:54 -05:00
Greg Johnston
1ba602ec47
Fix issue #109
2022-12-06 22:31:54 -05:00
Greg Johnston
1f3dde5b4a
Fix Hackernews CSS
2022-12-06 19:22:29 -05:00
Greg Johnston
a65cd67db3
Fix name of Wasm export
2022-12-06 18:18:46 -05:00
Greg Johnston
a1f94b609f
Improvements to example to show off transitions and streaming
2022-12-05 16:17:47 -05:00
Ben Wishovich
52ad546710
Update rest of the examples and make the tests pass
2022-12-04 17:25:03 -08:00
Ben Wishovich
f88d2fa56a
Add socket_address option to configure the ip address and port to serve
2022-12-04 15:50:29 -08:00
Ben Wishovich
f63cb02277
Commit WIP version of common config struct that writes a KDL file for cargo-leptos
2022-12-04 14:50:36 -08:00
Ben Wishovich
7b376b6d3a
Draft Builder Pattern for Render Options to add Leptos Autorender Code
2022-12-02 16:33:59 -08:00
Ben Wishovich
8fbb4abc76
Switch integrations to pass in a full path and name v the name to enable different pkg structures
2022-12-02 12:01:51 -08:00
Greg Johnston
19698d86b6
Allow styling <A/>
component with class
2022-12-02 13:20:07 -05:00
Greg Johnston
3d54055573
Add <Meta/>
component to leptos_meta
2022-12-02 12:36:51 -05:00
Greg Johnston
58abe55d7b
Merge branch 'main' into axum-0.6
2022-12-01 13:10:06 -05:00
Ben Wishovich
79faad4aac
Missed another couple imports
2022-11-30 22:41:31 -08:00
Vytenis
be96a230ee
Update lib.rs
2022-12-01 01:47:54 +02:00
Ben Wishovich
0f8930b6f2
Update Axum examples to latest 0.6 release and streamline things
2022-11-30 15:02:22 -08:00
Greg Johnston
db8c393f49
Update examples
2022-11-30 11:36:54 -05:00
Greg Johnston
a2c5855362
<Transition/>
component
2022-11-30 11:27:07 -05:00
Greg Johnston
c5a1e9a447
Copy edited and added Trunk install instructions
2022-11-29 20:00:09 -05:00
Ben Wishovich
e88e131ec3
Add READMEs to all examples and fix typo in todo-app-axum
2022-11-29 13:14:59 -08:00
Greg Johnston
c7dd6200e8
Fix GTK example
2022-11-29 07:07:10 -05:00
Greg Johnston
321e11e97a
Fix issue in which server-side resource are called 3x
2022-11-28 22:28:02 -05:00
Greg Johnston
c472a1c5ef
Fix misnamed optional-import feature exclusion that was causing CI to break
2022-11-28 20:50:04 -05:00
Greg Johnston
1180eeeadb
Merge pull request #127 from akesson/cargo-path-fix
...
Fix path deps' going one level too high
2022-11-28 12:17:32 -05:00
Greg Johnston
edb0f8c848
Fix import for CSR/no-features verson
2022-11-28 07:43:31 -05:00
Greg Johnston
40a842ff1d
Correct name of the root component we're rendering
2022-11-28 07:39:04 -05:00
hakesson
17baec46b7
Fix path deps' going one level too high
2022-11-28 06:03:56 +01:00
Ben Wishovich
6c22c47bbf
Cleanup, it now works except for when the server FN response is () or empty
2022-11-27 17:17:34 -08:00
Ben Wishovich
2d88a113c4
Typoed
2022-11-27 17:04:34 -08:00
Ben Wishovich
b0dd759bcf
Remove commented code in main
2022-11-27 17:01:42 -08:00
Ben Wishovich
507191e1a4
Mostly working version of axum with server functions
2022-11-27 16:55:38 -08:00
Greg Johnston
ed24e47c1d
Add examples of canceling in-flight requests (issue #32 ) and filter against empty IDs to avoid extra requests (issue #123 )
2022-11-26 15:29:46 -05:00
Greg Johnston
db34565959
Merge pull request #107 from benwis/msgpack-encoding
...
Binary encoding as an option for server functions
2022-11-25 22:44:53 -05:00
Greg Johnston
4093f4c2d8
Fix todomvc
2022-11-25 16:28:21 -05:00
Greg Johnston
994debea3f
Change _ref
attribute to use NodeRef
type
2022-11-25 15:38:46 -05:00
Greg Johnston
93f68e022f
Merge branch 'main' into msgpack-encoding
2022-11-25 14:35:52 -05:00
Greg Johnston
2b4dc76d95
Clear warnings in examples
2022-11-25 14:34:14 -05:00
Greg Johnston
a01b0cbbc6
Clear warnings from examples
2022-11-25 14:31:03 -05:00
Greg Johnston
4a426be6fb
Logging to track rerenders
2022-11-25 13:44:58 -05:00
Ben Wishovich
3ac92dc0fe
Switched out string for Payload enum in register() function and REGISTERED_SERVER_FUNCTIONS. Not sure if this is the way to go
2022-11-23 15:58:15 -08:00
Greg Johnston
6949750668
Fixing tests and examples
2022-11-23 18:29:20 -05:00
Ben Wishovich
440719071a
Switch MessagePack for CBOR, as it's more standardized
2022-11-23 14:23:49 -08:00
Jason Rodney Hansen
d8a97a81ff
Assign correct ids in add_many_counters
...
The counters and counters-stable examples didn't assign the correct ids when
clicking the "Add 1000 Counters" button if there were already counters added,
which meant clicking the "x" to remove them would remove the wrong counter.
2022-11-22 17:00:04 -07:00
Greg Johnston
89f837d3b6
Fixes #98 , cleans up leptos_meta
, and improves interface by removing manual .into() calls
2022-11-21 10:47:54 -05:00
Greg Johnston
525a31bf3d
Working render_app_to_stream
for Axum
2022-11-20 18:28:47 -05:00
Greg Johnston
4e8c1758c3
render_app_to_stream
helper in leptos_actix
2022-11-20 16:03:08 -05:00
Greg Johnston
eff42a196f
actix-web
integration with builtin server function handler route
2022-11-20 15:25:45 -05:00
Greg Johnston
4f3d7dc492
Add server context to counter-isomorphic example
2022-11-20 14:18:27 -05:00
Greg Johnston
6ddc720227
Allow accessing Scope
from server functions, which can be used to inject server-only dependencies like HttpRequest
2022-11-19 14:44:35 -05:00