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
Application use useContext for sharing state between components. It is considered bad practice and it is makes it hard to use component outside anypay, because it requires creating context, and this is not always possible. The better way would be to pass the state as the props in the component.
Possible solution
Replace all useContext calls with props handling.
The text was updated successfully, but these errors were encountered:
Issue
Application use
useContext
for sharing state between components. It is considered bad practice and it is makes it hard to use component outside anypay, because it requires creating context, and this is not always possible. The better way would be to pass the state as the props in the component.Possible solution
Replace all
useContext
calls with props handling.The text was updated successfully, but these errors were encountered: