Greg Johnston
|
3730427789
|
Fix misplaced ref in TodoMVC
|
2022-11-09 07:47:05 -05:00 |
Greg Johnston
|
63a2199405
|
Oops this was an accident
|
2022-11-07 21:26:57 -05:00 |
Greg Johnston
|
fd3443b129
|
Fix TodoMVC example
|
2022-11-05 23:27:36 -04:00 |
Greg Johnston
|
4e9d0354c6
|
Use localStorage for initial state of todo list
|
2022-11-05 19:48:12 -04:00 |
Greg Johnston
|
cccd7068f9
|
Remove : I have bigger plans for this
|
2022-11-05 19:47:17 -04:00 |
Greg Johnston
|
8f56a52615
|
Simplify and add comments on TodoMVC
|
2022-11-05 19:14:45 -04:00 |
Greg Johnston
|
2483616d0d
|
Remove route data loaders for now.
|
2022-11-05 09:32:12 -04:00 |
Greg Johnston
|
bd652ec542
|
Adding docs
|
2022-11-04 16:50:03 -04:00 |
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 |
Greg Johnston
|
3f7e7193ea
|
Clearing up some of the flood of warnings for unused imports etc. that have come up as I've shifted around implementations
|
2022-10-17 10:45:20 -04:00 |
Greg Johnston
|
4c5518bd20
|
Helper for route loader JSON responses
|
2022-10-16 22:18:07 -04:00 |
Greg Johnston
|
9a03fcf2ef
|
Provide helping for streaming SSR
|
2022-10-16 22:06:13 -04:00 |
Greg Johnston
|
3dd3870dbf
|
Fixing/updating SSR/hydration and some bugs in new reactivity
|
2022-10-15 22:17:58 -04:00 |
Greg Johnston
|
7a04411b64
|
New reactive system: switching to using SecondaryMaps from slotmap to reduce binary size and creation cost significantly
|
2022-10-15 19:26:17 -04:00 |
Greg Johnston
|
56c04e3772
|
Small updates to book
|
2022-10-14 15:44:08 -04:00 |
Greg Johnston
|
6d7c36655c
|
Not actually necessary, because the effect won't run on the server anyway
|
2022-10-14 14:42:27 -04:00 |
Greg Johnston
|
16f084a712
|
Fix Hacker News SSR/streaming/hydration
|
2022-10-13 18:53:31 -04:00 |
Greg Johnston
|
9563e70dcf
|
Fix hackernews example (CSR)
|
2022-10-13 17:13:30 -04:00 |
Greg Johnston
|
2c90922385
|
Fix up TodoMVC example and add build script on client side
|
2022-10-13 16:42:00 -04:00 |
Greg Johnston
|
2b1eeacef1
|
Remove transition example
|
2022-10-12 22:30:38 -04:00 |
Greg Johnston
|
c02839d6fc
|
Remove version numbers from examples
|
2022-10-12 14:43:42 -04:00 |
Greg Johnston
|
6e89ea4447
|
Proc-macro hygiene by including cx in view! macro. :-( but necessary...
|
2022-10-10 20:44:44 -04:00 |
Greg Johnston
|
b6cdf43622
|
Fix issue #1 on route loaders reloading
|
2022-10-08 22:03:35 -04:00 |
Greg Johnston
|
3638f488c9
|
Change <Link/> and <NavLink/> to <A/>, and update router example
|
2022-10-08 21:34:59 -04:00 |
Greg Johnston
|
2d2f2a52a4
|
Update all libraries and examples to use new set_x API
|
2022-10-08 20:39:13 -04:00 |
Greg Johnston
|
6e5e18eb33
|
Transition example broken, should fix
|
2022-10-08 20:38:56 -04:00 |
Greg Johnston
|
b23a6b6a26
|
Add version number for leptos dependencies
|
2022-10-07 06:53:17 -04:00 |
Greg Johnston
|
1d42c1b902
|
Significant progress on accurate/robust hydration
|
2022-10-01 21:25:49 -04:00 |
Greg Johnston
|
a0e320dee3
|
Remove old manual hydration example (would be broken in any case)
|
2022-09-30 15:27:38 -04:00 |
Greg Johnston
|
b2fcb552ea
|
Add <Stylesheet> component to meta
|
2022-09-28 20:54:56 -04:00 |
Greg Johnston
|
1a1af6a673
|
Out-of-order HTML streaming of Suspense nodes!
|
2022-09-11 21:13:30 -04:00 |
Greg Johnston
|
1b796ccd70
|
Remove unnecessary quotes
|
2022-09-11 16:20:56 -04:00 |
Greg Johnston
|
fb1dc9302a
|
Remove layout jank
|
2022-09-11 16:20:52 -04:00 |
Greg Johnston
|
80de7e9e12
|
Work on data streaming
|
2022-09-11 15:11:03 -04:00 |
Greg Johnston
|
4424361f57
|
Fixing hydration
|
2022-09-08 22:04:36 -04:00 |
Greg Johnston
|
4a8339df18
|
Picking away at hydration bugs
|
2022-09-07 22:21:22 -04:00 |
Greg Johnston
|
133a088364
|
Progress on SSR/hydration
|
2022-09-07 15:43:35 -04:00 |
Greg Johnston
|
45d1bbc236
|
Create HackerNews app
|
2022-09-05 12:32:27 -04:00 |
Greg Johnston
|
812c3a2045
|
SSR/hydration example!
|
2022-09-03 17:53:18 -04:00 |
Greg Johnston
|
a4a8a972b5
|
Rationalize features for CSR/SSR/hydration
|
2022-09-03 11:26:57 -04:00 |
Greg Johnston
|
2d62610288
|
Update examples, removing unnecessary one and using new APIs
|
2022-09-03 08:16:22 -04:00 |
Greg Johnston
|
bea51d54ef
|
Clear warnings in TodoMVC
|
2022-09-03 08:03:07 -04:00 |
Greg Johnston
|
ed23604237
|
Update TodoMVC example to use new interfaces
|
2022-09-02 15:22:35 -04:00 |
Greg Johnston
|
18d28ecefc
|
Hydration improvements
|
2022-09-02 14:50:49 -04:00 |
Greg Johnston
|
395075b530
|
Hydration!
|
2022-09-02 11:26:06 -04:00 |
Greg Johnston
|
54f37095dc
|
Beginning work on SSR/hydration
|
2022-09-01 10:39:04 -04:00 |
Greg Johnston
|
4eadf6e788
|
Clear warnings
|
2022-09-01 10:38:32 -04:00 |
Greg Johnston
|
89d30d017c
|
Router example
|
2022-08-29 08:05:14 -04:00 |
Greg Johnston
|
9233985738
|
Cleaning warnings
|
2022-08-25 15:04:30 -04:00 |
Greg Johnston
|
b602eea6bb
|
New reactive system
|
2022-08-24 16:47:37 -04:00 |
Greg Johnston
|
41f415160a
|
Remove Memo
|
2022-08-24 11:19:58 -04:00 |
Greg Johnston
|
7cfebcbfee
|
Significant router work
|
2022-08-24 10:59:06 -04:00 |
Greg Johnston
|
7996e25045
|
Clean up after work on transitions
|
2022-08-13 15:06:34 -04:00 |
Greg Johnston
|
9d2e7022f1
|
Transitions!
|
2022-08-13 09:26:04 -04:00 |
Greg Johnston
|
46fd5f6355
|
Make Resources copy/serializable like Signals etc.; useful for DX but also for ultimately serializing the dependency graph and resuming apps
|
2022-08-12 13:05:38 -04:00 |
Greg Johnston
|
00a0e8d5e0
|
Add Suspense
|
2022-08-12 11:51:59 -04:00 |
Greg Johnston
|
af5becb85b
|
Recomponentify
|
2022-08-11 07:15:00 -04:00 |
Greg Johnston
|
3e4adcad21
|
Fix some ownership clashes by using grow-only Vecs to hold signal/memo/effect state
|
2022-08-10 22:55:55 -04:00 |
Greg Johnston
|
4a7154071e
|
Debugging issues
|
2022-08-10 22:42:54 -04:00 |
Greg Johnston
|
612b64707e
|
Experimenting with a new reactive system
|
2022-08-10 22:34:20 -04:00 |
Greg Johnston
|
c2c4a4afe6
|
Use my old reactive system again
|
2022-08-08 14:09:16 -04:00 |
Greg Johnston
|
78b10dd546
|
Transition example
|
2022-08-05 07:53:56 -04:00 |
Greg Johnston
|
ef032092f1
|
Iniitial work on transitions
|
2022-08-05 07:53:34 -04:00 |
Greg Johnston
|
4da115b52c
|
Transition example (without transitions)
|
2022-08-05 07:53:22 -04:00 |
Greg Johnston
|
5612793f4e
|
Suspense
|
2022-08-03 10:28:36 -04:00 |
Greg Johnston
|
62eaa56102
|
Much neater
|
2022-08-01 18:43:39 -04:00 |
Greg Johnston
|
46ea459988
|
Async/Resource support and example
|
2022-08-01 18:02:02 -04:00 |
Greg Johnston
|
b21973783d
|
Improved naming conventions and remove an extra clone in create_signal_owned
|
2022-07-31 19:40:55 -04:00 |
Greg Johnston
|
17c2faeb56
|
Initial commit
|
2022-07-31 16:46:14 -04:00 |