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
There is a small issue when I am using your component in my project. The problem is the component should always infer active value from props and not from state.
The reason is, we make API calls to get some object and the object's bool value should determine the active state. The objects bool valus is passed through this.props.
The text was updated successfully, but these errors were encountered:
Hi,
Good job on your component.
There is a small issue when I am using your component in my project. The problem is the component should always infer active value from props and not from state.
So it should not be
Rather it should be
The reason is, we make API calls to get some object and the object's bool value should determine the active state. The objects bool valus is passed through this.props.
The text was updated successfully, but these errors were encountered: