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
However, this can cause a few problems, as the developer has to handle state changes by rendering or hiding the Search contents, probably via the onChange event.
It should be refactored to have an internal state, so that Search handles focusing/unfocusing by showing/hiding its results.
On a side note, it might be a good idea to add a clear button or something similar to the component, so that it is more of a unique component and not just another Input.
The text was updated successfully, but these errors were encountered:
Search
renderschildren
.However, this can cause a few problems, as the developer has to handle state changes by rendering or hiding the
Search
contents, probably via theonChange
event.It should be refactored to have an internal state, so that
Search
handles focusing/unfocusing by showing/hiding its results.On a side note, it might be a good idea to add a clear button or something similar to the component, so that it is more of a unique component and not just another
Input
.The text was updated successfully, but these errors were encountered: