UseState not re-rendering element
Answered
SharpieMaster posted this in #help-forum
I am having issues with the react use state with next js, please help me with my spaghetti code
Answered by SharpieMaster
the issue was updating the filtered options when both the searchTerm or the options update
14 Replies
the select element's options arent updating when the ingredient.name changes
if you need more context please tell me what you need, I will provide it as soon as I can
Cape lion
you can debugging in here.
Cape lion
you can also debugging in here.
I mean, in SelectElement Component.
I mean, in SelectElement Component.
the issue was updating the filtered options when both the searchTerm or the options update
Answer
@Cape lion thx for the help