I had a scary moment today
I used an enum, and kind of liked it
But then realised I needed dependent data
So I swapped back to a discriminated union
Phew
Little known module in @EffectTS_, EventLog can wrap any storage backend and add syncing capabilities.
For example, you can transform local storage into a reactive, synchronized store.
Effect (@EffectTS_ ) 3.17 has been released! It includes:
- Layer.mock for easier testing of services
- Effect.ensureErrorType for checking if all errors are handled
- Struct.entries - a type-safe Object.entries alternative
- and more
Link to the blog post below:
Renamed the effect-rx package to effect-atom. It can be installed from npm using "@effect-atom/atom-react" now.
To sweeten the migration effort, a AtomRpc module has been added, which integrates @effect/rpc with effect-atom. Read more here:
Update to @EffectTS_ docs MCP server:
- includes website docs + readmes in docs search
- improved cached
- now on npm as `effect-mcp`
- docker arm64 build
To update: `docker pull timsmart/effect-mcp`
took 3 years of attempts but looks like we were finally able to kill the need to use an adapter function and we can just yield* effects!
PR: github.com/Effect-TS/effe…
@EffectTS_ 3.15 has been released!
- Effect.catchTag can now handle multiple error types in one pass
- Effect.filterOr* apis have better type inference
- Stream.toAsyncIterable
Plus a bunch of other improvements.
@EffectTS_ 3.11 has been released!
Includes features like Effect.fn (auto-traced functions with better stack traces), Micro improvements and more.
Blog post is here:
We could probably make that a warning instead - effect should continue to work.
Generally all effect libraries use peer dependencies to ensure matching runtimes.
@EffectTS_ 3.16 has been released!
- New ExecutionPlan module, for building fallback scenarios when dealing with flaky services
- Effect.Service parameter support
- Access Schedule information for more fine-grained retry logic
And more!
When I joined the Node.js community in 2010, we could all tell it was the start of something special - Javascript everywhere!
@EffectTS_ is giving me the same feeling as back then. It is bringing a level of maturity to the ecosystem that will usher in new generation of tooling!