|
|
|
|
|
by treis
1204 days ago
|
|
Think you're gonna have a bad time. Should be something like: function handleChange(e){ getAutoSuggestions()
setLoadingState(true)
}^ Side effects happen in response to user input function getAutoSuggestionsCallback(resp){ setSuggestions(resp)
setLoadingState(false)
}^ No side effects |
|