Software developer sharing my crazy misadventures and insights
Mohammed Al Hashamy
Loading...
NextJs tips of the day focus on accessibility and check the laws for different countries.
In the EU they take a remediation approach in the US they sue you directly..
That's where aria label and tab index come in
Nextjs tipe of the day and its super cool. In the nextjs page app router each folder can have its own file types like constants, layout etc
In nextJS 16 all components are server by default its better for SEO and speed
#githubtip #github
if you are reviewing a PR with a lot of files do this. Click on one of the files and click option on a mac and it will auto collapse all the files
Nextjs lessons 4
In the config mjs for API routing to trick the route you can use the rewrite rule
This is great for a service like staple as an example if your setting up server side routing
As promised here is my NextJs lessons series. As a developer I am going to go the alternative route of hand building first the using AI to speed it up. The lesson here pretty simple if I built it I understand it.
AI takes away your ability to actually understand things
How do you guys think we can make the tech community more active here
You can have small wins even on your worst days even if it doesn't feel like it.
NextJs refresher 3
You can use console.table to show a lot of info especially from an object quickly
Lesson 2 of my NextJs refresher:
Getstatiprops generates at the build level it's perfect for blogs and pages that don't change a lot
Generateserversideprops is better for more dynamic pages
#nextjs
A silly as it sounds don't forget to use the gap in grid! Hours saved