Authentication using AWS Amplify.
Hello π folks, this article is about how to add authentication in apps using AWS Amplify? This article is part of AWS Amplify Hackathon. It is very easy to managed service for authentication on web and mobile apps. But it's little bit trickier to im...
axay.hashnode.dev14 min read
You should use ESLint and Prettier, which will warn you when you'll try to write unreadable and excessive code like this:
and change it like this:
There is even an ESLint rule for preventing using ternary operators all together:
And that's for normal assignment usage, not even for procedural usage like you're doing in your code.