Skip to content

Releases: react-gx/gx

Instauration of Asynchronous actions

13 Oct 02:21
530ecb2

Choose a tag to compare

What's new ?

  • You can now define asynchronous actions into your signals in order to perform some asynchronous task like fetching data from a server or anything else and directly update the state with the value returned.
  • You can now access to the updated state directly after calling an async action from a function and use it to do other tasks

Bug fixed

  • You can now use GX in a Strict Mode without any problem.

Add operations functions to signals

26 Jul 23:11
3e4b127

Choose a tag to compare

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.

Integration with Nextjs13 fully supported

08 Apr 19:32
8702376

Choose a tag to compare

Problem fixed

Integration with Nextjs version 13. There is a problem while importing GXProvider, createSignal and createStore from the package and the interpreter says that, createSignal and createStore were not available.

Resolution

With the version 1.2.5 it's now possible to use GX into a Nextjs version 13 apps.

Version v1.2.1: TypeScript support

13 Mar 15:40
0f7f6e2

Choose a tag to compare

This version of GX supports TypeScript and comes with a new hook, useActions to get all actions from a specific signal

version 1.1.0

22 Feb 17:43

Choose a tag to compare

Version 1.1.0 of Gx