Skip to content

Autoeffect seems to be randomly deciding not to work. #301

@kumardennis

Description

@kumardennis

Below is the code for autoEffect.

 autoEffect(() => {
        const testvar = formStore.rowLinks;
        console.log(testvar);
      });

the component is wrapped in 'view'.

I try changing state from a different file and function:

formStore.rowLinks= containerPurchase;

But it just doesn't update when state changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions