@kayodeonakoya26@craneoh4@EOEboh Using local storage can make you prone to xss attacks, as it can be read by JavaScript on the browser, but cookies can't be read by scripts
@kayodeonakoya26@craneoh4@EOEboh Using local storage can make you prone to xss attacks, as it can be read by JavaScript on the browser, but cookies can't be read by scripts
I disagree. The "Bad Practice" is bad because the two states have same class that you're repeating yourself... See a cleaner alternative here ..or better still use `clsx` and Class Variant Authority...
@Raynerdtech I disagree. The "Bad Practice" is bad because the two states have same class that you're repeating yourself... See a cleaner alternative here ..or better still use `clsx` and Class Variant Authority...
Firs time I used Nextjs was on 'the job', deployed to EC2 AWS server, wrote GitHub actions script, used nextjs /api routes as Frontend-for-Backend ...I learnt them on the job
@codekagefx Firs time I used Nextjs was on 'the job', deployed to EC2 AWS server, wrote GitHub actions script, used nextjs /api routes as Frontend-for-Backend ...I learnt them on the job