You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in #590, methods on Domain are hard to work with within plugins (both Babel and SWC).
Proposal
Deprecate the following legacy Unit creators on Domain:
.event and .createEvent
.effect and .createEffect
.store and .createStore
.domain and .createDomain
There has been an alternative way to attach the domain to a unit via argument since Encke 22.4.0 (released Nov 5, 2022), so there's been enough time to adopt it.
Additionally, Domain methods provide worse DX by default and are inconsistent with the rest of Effector API.
The text was updated successfully, but these errors were encountered:
As discussed in #590, methods on
Domain
are hard to work with within plugins (both Babel and SWC).Proposal
Deprecate the following legacy Unit creators on
Domain
:.event
and.createEvent
.effect
and.createEffect
.store
and.createStore
.domain
and.createDomain
There has been an alternative way to attach the domain to a unit via argument since Encke 22.4.0 (released Nov 5, 2022), so there's been enough time to adopt it.
Additionally,
Domain
methods provide worse DX by default and are inconsistent with the rest of Effector API.The text was updated successfully, but these errors were encountered: