Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nathan815
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
nathan815
6y ago
> the error could also be more obvious and the code just fails open. someone has a try/catch and returns true either because of an accidental mistake or because they don't want users to be locked out when the provider is down.
2.
▲
by
nathan815
7y ago
Having it in state allows you to react to changes in the form fields for validation, i.e. username availability, password strength, email validity, field character length (think twitter), etc. Of course you can do this imperatively by manua