COVID19 Global Hackathon /// To support local businesses, we’re creating a map layer for crowdfunding campaigns so ppl can see the businesses near them raising survival money online -- giving businesses access to and helping them maintain a loyal consumer base.
When you choose a city, it loads the mapbox. But it takes a few seconds, and you don't know anything is happening. We should have a Loading spinner in the mapbox area that displays immediately when you type in a city or location.
Also, when you select "Restaurants", nothing happens for over a second, and the "loading..." shows up only briefly before the content shows up. Would be better to display the search text string in the results area and a spinner until the content comes in.
When you choose a city, it loads the mapbox. But it takes a few seconds, and you don't know anything is happening. We should have a Loading spinner in the mapbox area that displays immediately when you type in a city or location.
Also, when you select "Restaurants", nothing happens for over a second, and the "loading..." shows up only briefly before the content shows up. Would be better to display the search text string in the results area and a spinner until the content comes in.
Maybe use Suspense? https://reactjs.org/docs/concurrent-mode-suspense.html