Greg Johnston
|
8a7ff0414a
|
Fixing a few more build/test issues
|
2022-11-02 23:10:12 -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
|
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
|
beaeb769d6
|
Update TODO.md
|
2022-10-29 20:35:57 -04:00 |
Greg Johnston
|
f411ece51a
|
Merge branch 'main' into server-rpc
|
2022-10-29 20:31:34 -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
|
4c2dc0e5c7
|
Updates todos for remaining work
|
2022-10-28 20:58:44 -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
|
b7e40b9a30
|
Separate two forms of communication into separate components to show difference
|
2022-10-27 08:00:26 -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 |
Greg Johnston
|
06c6d3f3e4
|
Work on manual versions of APIs
|
2022-10-25 15:28:10 -04:00 |
Greg Johnston
|
afdf6343b9
|
Move action/server APIs into their own file
|
2022-10-25 14:28:06 -04:00 |
Greg Johnston
|
5c36229b97
|
create_route_action API
|
2022-10-25 14:17:59 -04:00 |
Greg Johnston
|
fd847633a9
|
This is a manual implementation of "server functions." I'm going to use this to build out the RPC protocol that will allow us to do proper, fine-grained data loading and mutations.
|
2022-10-24 20:09:18 -04:00 |
Greg Johnston
|
e59ec14dec
|
Remove `Clone` bounds on signals and make previous value in `Memo` fn `Option<&T>` instead of `Option<T>`
Merge pull request #37 from danheuck/remove-clone-bounds
|
2022-10-24 19:18:40 -04:00 |
Greg Johnston
|
9db73dfd26
|
Fix todomvc-ssr example
|
2022-10-24 09:27:28 -04:00 |
Dan Heuckeroth
|
523569cd94
|
Fix bug in "counters" examples
|
2022-10-23 21:24:31 -04:00 |
Greg Johnston
|
88464fefe9
|
Merge pull request #35 from danheuck/unserializable-resources
Unserializable resources
|
2022-10-23 21:23:36 -04:00 |
Greg Johnston
|
1d48da937b
|
Clarify TLS/HTTPS in HackerNews example server
|
2022-10-23 13:28:07 -04:00 |
Dan Heuckeroth
|
e80f04a5e8
|
Fix hackernews-app example
|
2022-10-22 23:13:31 -04:00 |
Greg Johnston
|
600eb8c1c9
|
`serde`, `serde-lite`, and `miniserde` features for resources
|
2022-10-22 16:22:44 -04:00 |
Greg Johnston
|
5c022879f1
|
Transition from serde to serde-lite to save Wasm binary size
|
2022-10-22 11:02:47 -04:00 |
Greg Johnston
|
a119acdfca
|
Add missing panic hook dep
|
2022-10-22 10:35:10 -04:00 |
Greg Johnston
|
298cd16acb
|
Better nav link highlighting in router example
|
2022-10-21 22:18:16 -04:00 |
Greg Johnston
|
fd0538fadf
|
Simply routing
|
2022-10-21 17:17:24 -04:00 |
Greg Johnston
|
4b142fcbe0
|
Clean up router example and fix some bugs
|
2022-10-21 15:00:54 -04:00 |
Greg Johnston
|
89b24bc52f
|
Replace route loaders with resources in examples, as the loader API is going to change
|
2022-10-21 14:47:59 -04:00 |
Greg Johnston
|
5880aaefd5
|
Include examples in workspace so `rust-analyzer` works (per issue #28)
|
2022-10-20 21:44:38 -04:00 |
Greg Johnston
|
f59efc6c2b
|
Fix duplicates because I'm terrible at using GitHub
|
2022-10-20 21:43:30 -04:00 |
Greg Johnston
|
af152891a1
|
Merge branch 'main' into pr/add-console-panic-hooks
|
2022-10-20 17:51:40 -04:00 |
Oceantume
|
7065e5b32d
|
Add console error panic hook to all existing examples
|
2022-10-20 17:45:46 -04:00 |
Greg Johnston
|
a463bcca43
|
Add console_error_panic_hook to examples
|
2022-10-20 17:28:09 -04:00 |
Greg Johnston
|
4448f7a83a
|
Example of four modes of parent-child communication between components
|
2022-10-19 07:35:22 -04:00 |
Greg Johnston
|
1bbbdbf29e
|
Rationalize features and set up defaults so that a) users don't need to specify `csr` mode by default and b) tests pass without feature flags
|
2022-10-18 10:42:55 -04:00 |
Greg Johnston
|
70b2b3b283
|
Fix package name in example
|
2022-10-18 10:32:56 -04:00 |
Greg Johnston
|
1b074f4468
|
Fix stable example
|
2022-10-18 10:22:09 -04:00 |
Greg Johnston
|
2dd247c750
|
Fix example package names
|
2022-10-18 10:15:42 -04:00 |
Greg Johnston
|
418e4f4c77
|
wee_alloc is unmaintained so I'm now getting security alerts about it; I'm removing it from the examples.
|
2022-10-17 13:51:39 -04:00 |
Greg Johnston
|
0a0fb3bcf6
|
on_cleanup (issue #13) and example for cleanup functions
|
2022-10-17 13:39:40 -04:00 |
Greg Johnston
|
015bfc24fd
|
Feature-flag to enable support for stable Rust instead of nightly
|
2022-10-17 13:23:20 -04:00 |
Greg Johnston
|
7c19dd8039
|
Clearing some additional warnings in examples
|
2022-10-17 11:03:43 -04:00 |