Skip to content

Commit

Permalink
Merge pull request #24 from udecode/changeset-release/main
Browse files Browse the repository at this point in the history
[Release] Version packages
  • Loading branch information
zbeyens authored Feb 4, 2025
2 parents 56576f6 + 12f2836 commit 3602eef
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .changeset/cool-swans-flash.md

This file was deleted.

10 changes: 10 additions & 0 deletions packages/jotai-x/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# jotai-x

## 2.2.0

### Minor Changes

- [`c0ec41f`](https://github.com/udecode/jotai-x/commit/c0ec41f1f405f70d59621f675aabf17045abb4da) by [@zbeyens](https://github.com/zbeyens)
- `createAtomStore` now returns new utility hooks to provide a more direct way to access store atoms without having to call `useStore()` first:
- `use<Name>State(key, storeOptions)` - Get/set state for a specific key
- `use<Name>Value(key, options, deps)` - Get value for a specific key with optional selector and equality function
- `use<Name>Set(key, storeOptions)` - Get setter for a specific key

## 2.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/jotai-x/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jotai-x",
"version": "2.1.2",
"version": "2.2.0",
"description": "Jotai store factory for a best-in-class developer experience.",
"license": "MIT",
"homepage": "https://jotai-x.udecode.dev/",
Expand Down

0 comments on commit 3602eef

Please sign in to comment.