10 Next.js Tips You Might Not Know!
Video Statistics and Information
Channel: Lee Robinson
Views: 29,796
Rating: 4.9847035 out of 5
Keywords: next.js, nextjs, vercel
Id: R59e1Vl5lO8
Channel Id: undefined
Length: 7min 43sec (463 seconds)
Published: Mon Jan 04 2021
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
Awesome stuff! I use NextJS for basically all my projects. I found the "Shared Component Attributes" section super cool I've just been adding/overriding the Head in every page. And obviously the Capacitor mobile apps is crazy exciting. I've been wanting to to dive back into mobile app development and this might be a good change up from React Native.
Hey everyone! Happy to answer any Next.js questions. This video covers the following:
Thanks for the video, but I didn't get the imports with @. You can already just do /components or /assets from your src root, what's the point of putting an extra @ in front of it
I'm currently playing with Nextjs and this is one excellent video man!
Thanks for this Lee!
I read the Next docs quite a bit and almost all of those were new to me.
Excited to see what other cool stuff is under the surface. 👍
Thanks for the free contents. I hope you produce another full course soon. Maybe with all these content as bonuses.
Great video, love next.
Not a fan of import aliases though. They are nonstandard syntax and will break tooling for things like automatic imports, type definitions and other ide features which now requires yet more configuration to fix.
Plus, it's another config file to go digging for to find where something is located. Where is @foo? Anyone's guess, it's completely arbitrary, so you have to look it up, it could be a top level folder or inside some deeply nested rats nest.
All of this because you couldn't be bothered to type out a path. IMO the real solution is to setup your editor properly to handle automatic import statements.
Good
botmanProbably great tips but why isn't this an article I can quickly read while at work :)