question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v5alpha LoadingButton rename to PendingButton?

See original GitHub issue

I just used the LoadingButton to be a Submit button that will not become active until the user fills the form. IMHO better UX than having an active Submit button that tempts you to push it when you’re not supposed to 😉

So because your new button is can be great outside of just loading, perhaps a wider name like PendingButton or StatusButton could broaden its use…

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
oliviertassinaricommented, Jul 24, 2020

Here’s a 7 second demo of my use-case.

For this use case, prefer leaving the button pristine. We encourage end-users to be able to validate the form and trigger the validation errors, rather than starting with the button disabled.

0reactions
oliviertassinaricommented, Jul 24, 2020

How do you feel about waiting for computational processioning?

Pending for the name of the state would better match what’s going on. Note that in 80% of the time (I don’t have any proof other than my experience building and using applications), what’s pending is a network request.

IMHO the whole tradeoff is about what’s more accurate vs what are developers more likely to find, expect, query. The balance is leaning toward the latter.

I’m locking the issue, it’s a duplicate of the one linked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

v5alpha LoadingButton rename to PendingButton? #21906
I just used the LoadingButton to be a Submit button that will not become active until the user fills the form. IMHO better...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found