Nice and simple.
Adel Grimm
11

In the initial state of the login component, i.e. before the users attempts to login, badLogin should be set to something falsy. You could initialize it to “false” instead of “null”, it doesn’t really matter. I chose “null” because it seemed good enough.

A single golf clap? Or a long standing ovation?

By clapping more or less, you can signal to us which stories really stand out.