"Go" button on homepage should indicate loading state after clicking
abhaykumarvats opened this issue · 2 comments
abhaykumarvats commented
The "Go" button doesn't show any sort of loading state when clicked. If the pasted JSON is big, it can take significant amount of time for it to get parsed. So, it becomes important to show user some sort of loading state.
Screen.Recording.2023-04-15.at.7.24.42.PM.mov
I would like to work on it, if accepted. Thanks.
matt-aitken commented
This would be great to do. Remix'suseTransition is built to do this: https://remix.run/docs/en/1.15.0/hooks/use-transition#usetransition
abhaykumarvats commented
@matt-aitken Yes, I had the same approach in mind. Thanks for the suggestion. Just one question: What should be the label of button while it's in loading state?