Commit Graph

352 Commits

Author SHA1 Message Date
Greg Johnston
2483616d0d Remove route data loaders for now. 2022-11-05 09:32:12 -04:00
Greg Johnston
2595ffe10e Fix doctests 2022-11-05 09:22:02 -04:00
Greg Johnston
221cdf2685 Doc updates, cleanups 2022-11-05 09:12:42 -04:00
Greg Johnston
bd652ec542 Adding docs 2022-11-04 16:50:03 -04:00
Greg Johnston
d8852f909e Remove action 2022-11-03 21:31:32 -04:00
Greg Johnston
e16cc4fc4a Remove actions 2022-11-03 21:11:59 -04:00
Greg Johnston
d5e3661bcf Remove actions (moved to leptos_server) 2022-11-03 21:07:05 -04:00
Greg Johnston
8873ddc40a Require docs 2022-11-03 21:06:46 -04:00
Greg Johnston
b7e2e983f0 Update main docs 2022-11-03 21:06:23 -04:00
Greg Johnston
3701f65693 Add missing leptos_server metadata 2022-11-03 20:05:44 -04:00
Greg Johnston
a5712d3e17 0.0.12 2022-11-03 20:00:26 -04:00
Greg Johnston
4fba035f19 Merge pull request #47 from gbj/allow-on-dash-syntax-in-macro
Allow on-, class-, prop-, and attr- as equivalent to on:, class:, pro…
2022-11-03 19:57:56 -04:00
Greg Johnston
47fad9a042 Allow on-, class-, prop-, and attr- as equivalent to on:, class:, prop:, and attr: to get around a syn-rsx parsing limitation on mixing colons and dashes in an attribute name 2022-11-03 19:57:27 -04:00
Greg Johnston
c8545f47cb Enable cargo make build and cargo make test by removing mutually exclusive features
Remove mutually exclusive features
2022-11-03 18:32:09 -04:00
Greg Johnston
abc1c07053 Work on fixing tests 2022-11-03 08:08:03 -04:00
Greg Johnston
8a7ff0414a Fixing a few more build/test issues 2022-11-02 23:10:12 -04:00
Greg Johnston
b3c7de8460 Cargo, go home. You're drunk. (Optional dependencies are not features. Cargo bug we work around.) 2022-11-02 22:25:19 -04:00
Greg Johnston
03821b8edb Clear warning when no features enabled 2022-11-02 22:16:23 -04:00
Greg Johnston
db69145fd9 Sorting out all sorts of feature flags etc. so everything will build and test 2022-11-02 21:46:47 -04:00
Greg Johnston
51142ad894 Makefile for cargo make build and cargo make test 2022-11-02 21:46:32 -04:00
Greg Johnston
8ea73565de Shift from mutually-exclusive features to a more-gracefully-degrading system of features ordered by preference, clean up some warnings, and use cfg_if for improved readability 2022-11-02 20:41:00 -04:00
Greg Johnston
19db83c933 Rename ServerForm to ActionForm 2022-11-02 07:49:40 -04:00
Greg Johnston
c034e84b1d Direct server fn => ServerForm interface per #43 2022-11-01 22:57:55 -04:00
Greg Johnston
292c3d8bb1 Support for POST in client-side forms 2022-10-30 20:37:50 -04:00
Greg Johnston
ae0fad5465 Abstract out ActixIntegration into a broader ServerIntegration and make it easier to use 2022-10-30 19:41:59 -04:00
Greg Johnston
15f3d66ef0 Merge branch 'main' of https://github.com/gbj/leptos 2022-10-30 18:55:21 -04:00
Greg Johnston
1041d04d9e Input and URL on actions to allow forms with optimistic UI 2022-10-30 18:55:16 -04:00
Greg Johnston
beaeb769d6 Update TODO.md 2022-10-29 20:35:57 -04:00
Greg Johnston
7168f24dcb Clean up some version mismatches from merging 2022-10-29 20:34:32 -04:00
Greg Johnston
b3217c6523 Merge pull request #40 from gbj/server-rpc
Merge work on server functions
2022-10-29 20:31:46 -04:00
Greg Johnston
f411ece51a Merge branch 'main' into server-rpc 2022-10-29 20:31:34 -04:00
Greg Johnston
3fe20cf307 Add some initial docs 2022-10-29 20:29:39 -04:00
Greg Johnston
9f884471a8 Rename create_async_action to create_action 2022-10-29 20:12:38 -04:00
Greg Johnston
57ddfbf2ef Correctly handle serialization using Serializable and multiple types of arguments for input & output 2022-10-29 20:09:05 -04:00
Greg Johnston
4b845f8125 Library-level compile error when invalid combination of mutually-exclusive feature flags is set 2022-10-29 17:19:07 -04:00
Greg Johnston
dbc7fb13fc Fix feature flags here 2022-10-29 17:18:50 -04:00
Greg Johnston
4c2dc0e5c7 Updates todos for remaining work 2022-10-28 20:58:44 -04:00
Greg Johnston
c3afa0b08d Reduce types that need to be derived 2022-10-28 20:58:38 -04:00
Greg Johnston
572187399f Okay, here's the magic: add a #[server] macro and remove all the nasty boilerplate 2022-10-28 17:35:21 -04:00
Greg Johnston
3b5224295d Extract server function stuff into a leptos_server library 2022-10-28 15:41:40 -04:00
Greg Johnston
33688d2463 Remove unnecessary logging 2022-10-28 15:10:09 -04:00
Greg Johnston
869e17736b Create a trait to handle the server side of server functions 2022-10-28 15:03:26 -04:00
Greg Johnston
38a9c97a80 Add note about native GUI/GTK example in README 2022-10-28 12:14:10 -04:00
Greg Johnston
d119d0659c Add js-framework-benchmark official results 2022-10-27 16:12:37 -04:00
Greg Johnston
b7e40b9a30 Separate two forms of communication into separate components to show difference 2022-10-27 08:00:26 -04:00
Greg Johnston
f8c450003d Merge pull request #38 from gbj/gtk-example
Simple GTK counter example
2022-10-26 22:30:21 -04:00
Greg Johnston
b8f1d213be Add conversions between signals and async Streams 2022-10-26 22:29:24 -04:00
Greg Johnston
6a3ff03e9d Simple GTK counter example 2022-10-26 22:28:30 -04:00
Greg Johnston
41594af898 Examples with both route actions and with SSE to coordinate in a "multiplayer" way 2022-10-26 20:40:06 -04:00
Greg Johnston
3a2d5ef39c Add TODOs here 2022-10-25 15:31:54 -04:00