instantusername / instant-username-search

⚡ Instantly search for the availability of your username on more than 100 social media sites.
https://instantusername.com
GNU General Public License v3.0
202 stars 30 forks source link

WIP: feat(results): implement loading state for each result card #37

Closed umutcanbolat closed 4 years ago

umutcanbolat commented 4 years ago

Here comes a big change with this PR.

Before, all requests were sent at the same time by app.js and the first responding services were appearing at the top.

Now, the positions of the cards are fixed. Each card sends its own query. While waiting for the response, it goes to the loading state.

Also, a lot of refactoring has been made with this PR. New components are written with React hooks. From now on, no new class components will be created anymore.

image