optics-ts
Type-safe, ergonomic, polymorphic optics for TypeScript (by akheron)
focal
Program user interfaces the FRP way. (by grammarly)
Our great sponsors
optics-ts | focal | |
---|---|---|
3 | 2 | |
673 | 720 | |
- | 0.6% | |
8.3 | 7.6 | |
8 days ago | 6 months ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
optics-ts
Posts with mentions or reviews of optics-ts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-12.
- JavaScript Object Notation (JSON) Pointer
-
Advanced Large Object Management with jotai
The trick lies within the optic-ts integration.
-
Jotai, now with Optics
Fast forward to now and we are learning more about Jotai, a Recoil alternative from Poimandres ( creators of react-three-fiber, etc.). Needless to say, we were very excited when we stumbled upon Jotai Issue #44, a discussion concerning focusable atoms started by Meris Bahtijaragic and the compelling work that resulted, jotai-optics. This code wraps another library we have been very intrigued by as of late, optics-ts which provides a whole new level of typesafe, functional goodness.
focal
Posts with mentions or reviews of focal.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-11.
-
Best React Developer Experience?
@grammarly/focal — use RxJS like it was normal data in React, no need to sub/unsub manually
-
Jotai, now with Optics
More and more functional paradigms have been finding their way into our contracting work. This really accelerated when we started using React Hooks a while back. In fact, back in the day, we were tasked to convert a legacy Angular ThreeJS project we had written earlier to React / react-three-fiber for performance, ease of maintenance, etc. Given the increasing complexity, we wanted a more atomic, composable state management system (of course this was before Recoil had been introduced). After some due diligence, we settled on Grammarly's Focal. This library, although a bit older, is powerful and introduced us to the intriguing FP concepts of Optics, Lenses, etc
What are some alternatives?
When comparing optics-ts and focal you can also consider the following projects:
monocle-ts - Functional optics: a (partial) porting of Scala monocle
recks - 🐶 React-like RxJS-based framework
python-lenses - A python lens library for manipulating deeply nested immutable structures
jotai-devtools - Redux Devtools integrations for jotai.
jotai-optics - Jotai integration library for optics-ts
documentation - How does it all fit together?
zart - 🤯 zART-stack — Zero-API, React [Native], & TypeScript
dinero.js - Create, calculate, and format money in JavaScript and TypeScript.
jotai-optic
jsonpath - A Go implementation of JSONPath