Socket
Socket
Sign inDemoInstall

effector

Package Overview
Dependencies
0
Maintainers
5
Versions
270
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245
27Next

22.6.2

Diff

Changelog

Source

effector 22.6.2

  • Fix return type of withRegion
drelliot
published 22.6.1 •

Changelog

Source

effector 22.6.1

  • Add missing exports definition for effector/inspect API
drelliot
published 22.6.0 •

Changelog

Source

effector 22.6.0

  • Implemented inspect API (PR #859)
drelliot
published 22.5.2 •

Changelog

Source

effector-react 22.5.2

drelliot
published 22.5.1 •

Changelog

Source

effector-react 22.5.1

  • Fix Gate usage as component. <Gate /> will also be isomorphic by scope.
drelliot
published 22.5.0 •

Changelog

Source

effector-react 22.5.0

  • Make useGate isomorphic in effector-react module, so the one not needed to use effector-react/scope anymore (PR #852)
  • Fix useUnit hangs when scope is changed (happens when route is changed in next.js) (PR #851)
drelliot
published 22.4.1 •

Changelog

Source

effector 22.4.1

  • Add type support for read only arrays in sample source. This case now supported and typechecked correctly:
const profileFormSubmitted = createEvent()
const $name = createStore('alice')
const $age = createStore(0)
const saveProfileFx = createEffect(async ([name, age]: [string, number]) => {})

sample({
  clock: profileFormSubmitted,
  source: [$name, $age] as const,
  target: saveProfileFx,
})

Note that the one need to use "as const" in that case to got correct typechecking because without it typescript cannot infer the type [Store<string>, Store<number>]. We are working to avoid that limitation, stay tuned!

drelliot
published 22.4.0 •

Changelog

Source

effector-react 22.4.0

drelliot
published 22.3.0 •

Changelog

Source

effector-react 22.3.0

  • Made hooks useEvent, useStore, useStoreMap and useList isomorphic, now they would use scope from the Provider if it is available and scope-less mode otherwise. For useUnit it was done in 22.2.0.
  • Added parameter forceScope to useEvent, useStore, useStoreMap and useList to force usage of scope from Provider, it would throw an error if Provider is not available, /scope module sets forceScope to true by default
drelliot
published 22.2.0 •

Changelog

Source

effector-vue 22.2.0

  • Add useStoreMap hook for Vue 3 composition API to select part from a store ((PR #780)[https://github.com/effector/effector/pull/780]) by @ilajosmanov
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc