fix(deps): update dependency recoil to ^0.7.0 #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.1.2
->^0.7.0
^0.0.1
->^0.0.9
Release Notes
facebookexperimental/Recoil (recoil)
v0.7.7
Compare Source
v0.7.6
Compare Source
RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = false
in code to disable the checking and logging.process.env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=false
in NodeJS environments such as NextJsv0.7.5
Compare Source
v0.7.4
Compare Source
v0.7.3
Compare Source
parentStoreID_UNSTABLE
to atom effects which is the ID of the parent store it cloned from, such as the host<RecoilRoot>
store foruseRecoilCallback()
snapshots. (#1744)v0.7.2
Compare Source
v0.7.1
Compare Source
Typing
children
prop to<RecoilRoot>
anduseRecoilBridgeAcrossReactRoots_UNSTABLE()
for TypeScript for@types/react
with React 18 (#1718, #1717, #1726, #1731)toJSON()
. (#1709, #1703)Fixes
<RecoilRoot>
's. (#1712)v0.7.0
Compare Source
New Features
default
value is now optional foratom()
andatomFamily()
. If not provided the atom will initialize to a pending state. (#1639)getStoreID()
method toSnapshot
(#1612)RecoilLoadable.loading()
factory for making an asyncLoadable
which never resolves. (#1641)Breaking Changes
get()
and Atom'sdefault
can now accept aLoadable
to put the node in that state. If you wish to store aLoadable
,Promise
, orRecoilValue
directly you can wrap it withselector.value()
oratom.value()
. (#1640)useRecoilCallback()
now provides a snapshot for the latest state when the callback is called instead of the latest rendered state, which had issues (#1610, #1604)Improvements / Optimizations
Fixes
setSelf()
fromonSet()
handlers. (#1589, #1582)Window
interface. (#1571)v0.6.1
Compare Source
Fix postInstall script
v0.6.0
Compare Source
React 18
<StrictMode>
(#1473, #1444, #1509).useTransition()
using hooks with_TRANSITION_SUPPORT_UNSTABLE
suffix. (#1572, #1560)New Features
refresh()
to theuseRecoilCallback()
interface for refreshing selector caches. (#1413)getCallback()
can now mutate, refresh, and transact Recoil state, in addition to reading it, for parity withuseRecoilCallback()
. (#1498)<RecoilRoot>
andSnapshot
stores accessible viauseRecoilStoreID()
hook (#1417) orstoreID
parameter for atom effects (#1414).RecoilLoadable.all()
andRecoilLoadable.of()
now accept either literal values, async Promises, or Loadables. (#1455, #1442).isRetained()
method for Snapshots and check if snapshot is already released when using.retain()
(#1546)Other Fixes and Optimizations
useRecoilTransaction_UNSTABLE()
(#1466, #1569)onSet()
handlers in atom effects when atoms are cleaned up. (#1509)onSet()
when atoms are initialized with<RecoilRoot initializeState={...} >
(#1519, #1511)<RecoilRoot>
will only callinitializeState()
once during the initial render. (#1372)useGetRecoilValueInfo_UNSTABLE()
andSnapshot#getInfo_UNSTABLE()
results (#1549)Breaking Changes
effects_UNSTABLE
to justeffects
, as the interface is mostly stabilizing. (#1520)<RecoilRoot initializeState={...} >
. (#1509)useGetRecoilValueInfo_UNSTABLE()
andSnapshot#getInfo_UNSTABLE()
always report the nodetype
. (#1547)v0.5.2
Compare Source
TypeScript fixes
v0.5.1
Compare Source
TypeScript fixes
v0.5.0
Compare Source
useRecoilRefresher_UNSTABLE()
hook which forces a selector to re-run it'sget()
, and is a no-op for an atom. (#972, #1294, #1302)getLoadable()
,getPromise()
, andgetInfo_UNSTABLE()
to Atom Effects interface for reading other atoms. (#1205, #1210)isReset
parameter toonSet()
callback to know if the atom is being reset or not. (#1358, #1345)Loadable
improvements:RecoilLoadable
interface with factories and type checking for Loadables. (#1263, #1264, #1312)v0.4.1
Compare Source
v0.4.0
Compare Source
New Features
cachePolicy_UNSTABLE
option for selectors and selector families. This option allows you to control the behavior of how the selector evicts entries from its internal cache.useRecoilTransaction_UNSTABLE()
hook for transactions with multiple atoms (#1085)Fixes and Optimizations
selectorFamily()
,getCallback()
,useGetRecoilValueInfo()
, andSnapshot#getNodes()
(#1060, #1116, #1123)Snapshot
(#1135, #1107)v0.3.1
Compare Source
v0.3.0
: 0.3Compare Source
Breaking Changes
For supporting garbage collection in the future there is a slight breaking change that
Snapshot
's will only be valid for the duration of the callback or render. A newretain()
API can be used to persist them longer. This is not enforced yet, but Recoil will now provide a warning in dev-mode if aSnapshot
is used past its lifetime. (#1006)New Features / Improvements
override
prop to<RecoilRoot>
(#973)getCallback()
to selector evaluation interface (#989)Loadable
s (#966, #1022)Performance Optimizations
Bug Fixes
<ErrorBoundary>
's (#998, #1017)onSet()
should not be called when triggered fromsetSelf()
initializing with a Promise or from the sameonSet()
handler. (#974, #979, #953, #986)v0.2.0
0.2.0 (2021-3-18)
Major improvements
b7d1cfd
).Other improvements
4c95591
)Bug fixes
f0e66f7
)d27c800
)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.