jg-chickenbook / chickenbook

Chickenbook client app
https://jg-chickenbook.github.io/chickenbook/
1 stars 0 forks source link

Login Refactoring #26

Open milojezek opened 5 months ago

milojezek commented 5 months ago

Let's look at the existing LoginPage.tsx & LoginForm.tsx. Can we improve the code structure? Maybe create a custom hook for handling submit/auth?

I can also think of using AuthContext & AuthProvider but it would be a new feature.

Definition of done:

VeveCambor commented 4 months ago

I try refactoring my code and use hook.

milojezek commented 4 months ago

@VeveCambor Feel free to update the issue's description :)