[RFC] atom effects
See original GitHub issueContinuing from discussions in the discord channel. Recoil proposes Atom Effects. We don’t need to provide the same API, and probably it’s impossible as there are some conceptual differences between jotai and recoil. (It is interesting to me that things get to be seen differently in jotai from recoil, because originally jotai is modeled after recoil.)
However, there are good use cases. It seems like there are three possibilities for each use case.
- can be implemented as derived atoms
- can’t be implemented as derived atoms, but something can be added in jotai core
- can never be implemented in jotai
Collecting use cases might be important. Please share your ideas.
For 1, we could create new functions in jotai/utils: withEffect
and atomWithEffect
.
Any thoughts? volunteers?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:23 (17 by maintainers)
Top Results From Across the Web
The Atom Publishing Protocol RFC 5023 - IETF Datatracker
The Atom format is documented in the Atom Syndication Format. Gregorio & de hOra Standards Track [Page 1] RFC 5023 The Atom Publishing...
Read more >Atom Effects | Recoil
Atom effects are an API for managing side-effects and synchronizing or initializing Recoil atoms. They have a variety of useful applications such as...
Read more >RFC822: Standard for ARPA Internet Text Messages
RFC # 822 Obsoletes: RFC #733 (NIC #41952). RFC822: Standard for ARPA Internet Text Messages. Revised by David H. Crocker. Dept. of Electrical...
Read more >ATOM Program System | Encyclopedia MDPI
The ATOM computer system is designed to study the structure of atoms and the physical processes occurring with their participation. atom RPAE ...
Read more >RFC 6721 - The Atom "deleted-entry" Element - faqs.org
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hm, okay
debugLabel
is already a camel case.Here’s version 3.
While I would try to avoid adding a new feature in core, this seems unavoidable.
So, here’s the proposal.