Evan Almloff
|
df41df75d0
|
switch to use_reactive
|
2024-03-15 11:54:09 -05:00 |
|
Evan Almloff
|
80aeba30c7
|
Merge branch 'main' into resource-dependancies
|
2024-03-13 10:03:44 -05:00 |
|
Evan Almloff
|
3866aa2977
|
simplify use_dependencies docs
|
2024-03-13 10:03:00 -05:00 |
|
Evan Almloff
|
0951a389f7
|
add a way to add manual dependency tuple to memos and effects
|
2024-03-13 09:54:48 -05:00 |
|
Evan Almloff
|
2bbc609082
|
add a way to subscribe to a dependency tuple for the use_resource hook
|
2024-03-12 16:50:03 -05:00 |
|
Jonathan Kelley
|
d180f569cf
|
Merge pull request #2064 from ealmloff/make-resource-copy
Implement copy for Resource
|
2024-03-12 13:32:31 -07:00 |
|
Evan Almloff
|
81e0469cc2
|
implement copy for Resource
|
2024-03-12 15:15:24 -05:00 |
|
Evan Almloff
|
3e9a360b55
|
Merge branch 'main' into isomorphic-spawn
|
2024-03-11 15:42:47 -05:00 |
|
Evan Almloff
|
f51b5617e1
|
add a test for the memo hook
|
2024-03-11 15:33:46 -05:00 |
|
Marc Espin
|
617b11a352
|
feat: Add Resource::clear() and also updated Resource docs (#2049)
* feat: Add clear method to Resource and also updated its docs
* Update use_resource.rs
|
2024-03-11 14:17:20 -05:00 |
|
Evan Almloff
|
ffc49530f6
|
implement readable and callable for all structs in the hooks crate
|
2024-03-08 11:17:28 -06:00 |
|
Evan Almloff
|
492f0329bf
|
remove flume, implement lazier memos
|
2024-03-06 11:38:28 -06:00 |
|
andrey
|
df0d45be48
|
added better documentation and code snipppets for the use_resource, use_future, use_effect and use_context hooks
|
2024-02-27 10:15:38 +08:00 |
|
Jonathan Kelley
|
69e4ebe4ed
|
Fix suspense on resource
|
2024-02-05 11:59:50 -08:00 |
|
Evan Almloff
|
91fea15cdc
|
don't expose the signal scope subscriber API publicly
|
2024-02-05 08:13:52 -06:00 |
|
Jonathan Kelley
|
4a7fe938ad
|
Make clippy happy
|
2024-02-04 23:03:52 -08:00 |
|
Jonathan Kelley
|
7d78e5e250
|
Fix warnings and compile errors
|
2024-02-03 13:10:16 -08:00 |
|
Evan Almloff
|
1afada528d
|
fix user server future
|
2024-02-02 18:01:57 -06:00 |
|
Jonathan Kelley
|
8a38a41512
|
fix use_future todos!
|
2024-02-02 14:17:53 -08:00 |
|
Jonathan Kelley
|
f44b72f5e1
|
server_future uses use_resource
|
2024-02-02 14:08:21 -08:00 |
|
Jonathan Kelley
|
8f70a84c70
|
Use futures_util mutex instead of flume for sending flush lock wakeups
|
2024-02-02 13:09:26 -08:00 |
|
Evan Almloff
|
38bdab880d
|
only give out a ReadOnlySignal from async resources
|
2024-02-02 15:00:05 -06:00 |
|
Jonathan Kelley
|
dd06705ff1
|
implement use_async_memo with reactive context
|
2024-02-01 13:21:53 -08:00 |
|
Jonathan Kelley
|
7c2947a131
|
Implement effects using reactivecontext
|
2024-02-01 13:21:52 -08:00 |
|
Jonathan Kelley
|
0c71b95e82
|
skeleton of use_server_future with reactivity
|
2024-02-01 13:21:52 -08:00 |
|
Jonathan Kelley
|
44966efde2
|
use_future works
|
2024-01-31 16:56:58 -08:00 |
|
Jonathan Kelley
|
09e14f1936
|
Implement some clippy fixes
|
2024-01-30 18:17:45 -08:00 |
|
Jonathan Kelley
|
a72c035de4
|
Fix cargo check on examples
|
2024-01-30 17:59:57 -08:00 |
|
Jonathan Kelley
|
8cc17dc1bd
|
Fix compile
|
2024-01-29 17:03:50 -08:00 |
|
Evan Almloff
|
c51badf07b
|
fix use hooks with impl signals
|
2024-01-23 10:09:02 -06:00 |
|
Jonathan Kelley
|
028f499bf6
|
Fix generational box in release mode
|
2024-01-21 12:46:19 -08:00 |
|