v15
Last updated
Was this helpful?
Last updated
Was this helpful?
Due to an open issue in TypeScript, Decorators behave differently in ES2022 (). That's why it is not possible to use inside a StoreChunk initizilizing a static field of that class.
Currently, we do not know if the issue is a bug or a planned breaking changed. Once there is an update, we will update the documentation accordingly.
This means inlining useActions
is not possible at the moment.
To resolve this issue, you need to move useActions
outside your Chunk.