diff options
author | Kero van Gelder <keroami@users.noreply.github.com> | 2023-04-05 14:33:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 13:33:00 +0100 |
commit | a1b2f0344a59e24ae4d16f1689a02ba72ced2b53 (patch) | |
tree | 83843c6afd048b2c770a811696e1947bf915ffaa /manifest.toml | |
parent | 2feb2a8e1a427cb7545785e2678e4523533c432e (diff) | |
download | lustre-a1b2f0344a59e24ae4d16f1689a02ba72ced2b53.tar.gz lustre-a1b2f0344a59e24ae4d16f1689a02ba72ced2b53.zip |
🐛 Avoid a race condition when dispatch is used twice from outside (#8)
* Upgrade examples to lustre 2.0
* Upgrade to gleam 0.27.0
* Fix: avoid a race condition when dispatch is used twice from outside
E.g. websocket open + websocket msg arriving
Application returns a Cmd from update(model, msg)
but the Effect handler is *not* ran be React 18 before
the websocket msg-arriving is handled by the Reducer.
Result: The Cmd returned by update(model, msg) is dropped silently.
---------
Co-authored-by: Kero van Gelder <kero@chmeee.org>
Diffstat (limited to 'manifest.toml')
-rw-r--r-- | manifest.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifest.toml b/manifest.toml index 84bfb11..ee5fc14 100644 --- a/manifest.toml +++ b/manifest.toml @@ -2,7 +2,7 @@ # You typically do not need to edit this file packages = [ - { name = "gleam_stdlib", version = "0.26.1", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "B17BBE8A78F3909D93BCC6C24F531673A7E328A61F24222EB1E58D0A7552B1FE" }, + { name = "gleam_stdlib", version = "0.27.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "9DBDD21B48C654182CDD8AA15ACF85E8E74A0438583C68BD7EF08BE89F999C6F" }, { name = "gleeunit", version = "0.10.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "ECEA2DE4BE6528D36AFE74F42A21CDF99966EC36D7F25DEB34D47DD0F7977BAF" }, ] |