optics-ts VS focal

Compare optics-ts vs focal and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
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.

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
    2 projects | news.ycombinator.com | 12 Apr 2023
  • Advanced Large Object Management with jotai
    1 project | dev.to | 26 Sep 2021
    The trick lies within the optic-ts integration.
  • Jotai, now with Optics
    6 projects | dev.to | 30 Oct 2020
    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?
    10 projects | /r/reactjs | 11 Jul 2022
    @grammarly/focal — use RxJS like it was normal data in React, no need to sub/unsub manually
  • Jotai, now with Optics
    6 projects | dev.to | 30 Oct 2020
    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