+
Skip to content

Add operations functions to signals

Choose a tag to compare

@dilane3 dilane3 released this 26 Jul 23:11
· 21 commits to main since this release
3e4b127

What's new ?

  • In the creation of signals, now you have to possibility to define operations in order to act to a state without modify it and return a new value obtained after the operation.
  • Add new hook useOperations for retrieving operations defined into the createSignal function
  • Support for Typescript generic types for useActions, useAction and useOperations hooks.
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载