NUS-Project-SaBai / FrontEnd

1 stars 1 forks source link

Standardisation of Frontend Code #164

Open keithxun opened 1 month ago

keithxun commented 1 month ago

Standardisation Anything that returns a view use function (){} Anything else use arrow function const f = () => {} Remove mounted code, replace with useWithLoading hook to handle loading logic

keithxun commented 1 month ago

Standardisation Anything that returns a view use function (){} Anything else use arrow function const f = () => {} Remove mounted code, replace with useWithLoading hook to handle loading logic