react-atom
react-atom copied to clipboard
A simple way manage state in React, inspired by Clojure(Script) and reagent.cljs
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 23.3.9 to 25.1.0. Commits See full diff in compare view [](https://dependabot.com/compatibility-score.html?dependency-name=@types/jest&package-manager=npm_and_yarn&previous-version=23.3.9&new-version=25.1.0) Dependabot will resolve any conflicts with this PR as long as you don't alter...
I am using react-atom in multiple projects, often starting with `React.useState()` then upgrading to atoms. The `useAtomState()` hook below makes it take only a few keystrokes to replace `useState` with...
I don't have much experience with TS sorry if the syntax is a little off.
Hi @derrickbeining - great project you got here! I've been using React Waterflow earlier on (as a replacement for Redux et al.) and I like what you did. Actually, I...
Having a code base that has both hook based and class based components is common. It would be useful for `react-atom` to provide a HOC for these components. Something simple...
For example, in Clojure, `swap!` takes an optional `validatorFn`. See Clojure docs: https://clojuredocs.org/clojure.core/atom. This could potentially make `swap` and `set` more type-safe for JS.
Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependencies [json5](https://github.com/json5/json5), [json5](https://github.com/json5/json5), [loader-utils](https://github.com/webpack/loader-utils) and [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest). These dependencies need to be updated together. Updates `json5` from 2.1.0 to 2.2.3 Release notes Sourced from...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Bumps [loader-utils](https://github.com/webpack/loader-utils) and [loader-utils](https://github.com/webpack/loader-utils). These dependencies needed to be updated together. Updates `loader-utils` from 1.1.0 to 1.4.2 Release notes Sourced from loader-utils's releases. v1.4.2 1.4.2 (2022-11-11) Bug Fixes ReDoS problem...