Help me refactor code
Answered
Rhinelander posted this in #help-forum
RhinelanderOP
https://gist.github.com/jan-arnez/ae9d061199376b050646e4a6bdecc832 Here are my four authentication components. I'm 99% sure they're as good as they can be, but I'm always looking to improve. I'm aiming to write the best code possible, so I'd really appreciate it if you could take a quick 1–2 minutes to review them. Even small suggestions — like naming conventions, structure, or adding loading states — would be super helpful. Will provide forms aswell if anyone is willing to help further but forms are a bit more work to checkout.