Closed japalio closed 6 years ago
LGTM
Actually I think something important to add here would be some kind of loading indicator when we are loading new data. This used to be indicated by the submit button going inactive and saying Loading...
but now we need some other way to indicate this.
I've already made a loading
variable in the state that is true when we are waiting for the api response and false otherwise. You can use this variable to conditionally show an html element.
Here are some awesome libraries for cool loading indicators:
See https://github.com/StanfordCS194/Cristian-Dan-Jenny-Matthew-Neven/issues/25