You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating properties (e.g. constraints) currently doesn't make the scanner behaviour adapt/reflect these updates. This is because these properties are not in the dependencies array of the useEffect within hooks.ts.
Proposal
Adding the missing dependencies to the useEffect and introducing an additional useEffect` which exclusively does the scanner stopping when the component unmounts.
The text was updated successfully, but these errors were encountered:
Current behavior
Updating properties (e.g.
constraints
) currently doesn't make the scanner behaviour adapt/reflect these updates. This is because these properties are not in the dependencies array of theuseEffect
within hooks.ts.Proposal
Adding the missing dependencies to the
useEffect and introducing an additional
useEffect` which exclusively does the scanner stopping when the component unmounts.The text was updated successfully, but these errors were encountered: