These bits of knowledge are so valuable you have no idea, real world stuff straight from an experienced dev. If you ever group all this in some way you could become a reference.
@HHJoshHH5 ай бұрын
I know it's somewhat basic but I learn from everyone so this was awesome! Plus your production quality is always A+. Good vid Cody.
@kyrregjerstad5 ай бұрын
Wish I would have known this when starting my first junior role, would have made my life so much easier!
@insanityrodax86215 ай бұрын
When you add internationalization, you will resort to all the techniques mentioned React Component Extension + Text Search + URL. For me, in a real complex code, React Component Extension seems to work most of the time along with file search (when I get used to the code)
@danielcraciun4565 ай бұрын
Great tips! A video on monorepos with Next.js would also be amazing.
@vinialves123625 ай бұрын
Findind the entrypoint and fuzzy search is the exact workflow I use and teach my pairs. Good video
@xmaxfuture5 ай бұрын
1. Command Click: Quickly jump to the definition of a function or component by holding the Command key and clicking on it. 2. Command W: Close the current tab in your editor, allowing you to navigate back up the call stack. 3. Command Shift F: Search for text across the entire codebase. Useful for finding where a specific component or text is used. 4. Command P: Open the file palette in VS Code, allowing you to quickly jump to a file by typing its name. 5. Command P + # (hashtag): Search for a symbol in the codebase, such as a function or variable name. 6. Shift + FN + Option + F12: Find all references to a function or variable, showing every place in the code where it is used. 7. Command Shift Click: Open the closest component in VS Code editor (if supported by extensions).
@joshuwa39535 ай бұрын
Thanks for teaching real world applications for devs
@Goyo_MGC5 ай бұрын
I know your content is English centered but i don't think i ever heard you talk about internalization tools with nextjs. I've used next-intl and pretty happy about it. Would love to hear from you on how you would implement those type of tools. Great content as always that touch on subjects that really matter in professional environment
@WebDevCody5 ай бұрын
Yeah I’ve never used i18n before. I’ve only worked on domestic apps in the us
@raygrant96735 ай бұрын
What keyboard do you use?
@shahzaibshahzaibkhan64805 ай бұрын
Awesome, didn't know about the CMD+W one
@williamx05 ай бұрын
Thanks for this. Helpful for people like me. I was curious, how is the id after groups so short? It says groups/5. Typically I'm using a ulid() and the url gets really long. Any info on what id you're using to make your urls so short?
@WebDevCody5 ай бұрын
I'm using auto incrementing database ids which are integers
@williamx05 ай бұрын
@@WebDevCody I see. Thanks man
@ivangechev42435 ай бұрын
I use Cntrl + Shift + P to find the file I want and when I have a lot of opened tabs with files in my VS Code I found out if you hover over them you can use the scroll to easy find what you need.
@ziacodes5 ай бұрын
How did you implement logout from all devices? That's interesting to acheive with Lucia auth andddd database sessions I believe? Could you also make a video about thaT?
@WebDevCody5 ай бұрын
Lucia has a built in method to do it if I recall correctly
@ziacodes5 ай бұрын
@@WebDevCody Yeah, I saw it... I kinda like Lucia compare to Next-Auth... It gives much more flexibility.
@zilaidawwab42525 ай бұрын
What's the name of the VS Code theme?
@alec-dora5 ай бұрын
Which vs code theme _were_ you using?
@iamsomraj5 ай бұрын
Does anyone know?
@bandekhoda78015 ай бұрын
Bearded theme stained blue, I've been using it since I remember lol
@alec-dora5 ай бұрын
@@bandekhoda7801 I want to kiss you bro. Thanks a lot!!
@zilaidawwab42525 ай бұрын
@@bandekhoda7801 That's not what is used in the video. Do you know the exact name of which one he's using?
@bandekhoda78015 ай бұрын
@@zilaidawwab4252 he previously mentioned that the creator of the Bearded Theme himself is developing this current theme, but it's not publicly available yet. Not sure if it's still the case
@domson_04785 ай бұрын
@Web Dev Cody How do you manage your db selects? I mean when you do select query (probably) by default you take all data related with some record(s). So probably you also take data that you don't need in some usecase. Do you ignore that additional data received from db? What's your point? I ask bc if I do lib functions for db related stuff, sometimes I need one portion of data, but in the orther case another one. But I take all (*) so I waste my transfer. How do you do that?
@WebDevCody5 ай бұрын
if you want to minimize load times, you should only send back the minimum data needed to show in the UI, but often the extra work to achieve that makes the code a bit more messy
@holypowerenjoyer60595 ай бұрын
It'd be cool if you had that thing that displays your keystrokes on the screen
@HorizonHuntxr5 ай бұрын
You can enable it directly from vs code too
@martiananomaly5 ай бұрын
Locatorjs was one sick tool for blazing fast UI to code navigation which unfortunately doesn't work with the latest NextJS
@Sky-yy5 ай бұрын
Wow , really awesome one .
@imransefat87705 ай бұрын
Idk if I should ask here, but this is somewhat related as I do the scenario, the codebase expands. If you could create another video to solve this would be great. So, what's th best use case of a CRUD application where I'm using trpc with t3-stack and using react form hook for the form validation. I feel like using react form hook with trpc slows down my development time.
@JerrenT5 ай бұрын
typo in alt tag of Image component in users/[userId]/posts/page.tsx - 'gruops' -> 'groups'
@alonsoalarconaguilar71135 ай бұрын
great tips!, i didnt know the hashtag one
@dailynews78225 ай бұрын
Can you make grid layout on posts .
@jazzdestructor5 ай бұрын
Worst case if everything fails (in react) then search component in the router file.
@dailynews78225 ай бұрын
Nice work
@SeibertSwirl5 ай бұрын
I love you! You’re doing great 😘
@dailynews78225 ай бұрын
How to check erro on deloy NextJs App ? Thank you
@SonAyoD5 ай бұрын
Nice!
@3litepker5 ай бұрын
Really thought this would be common sense for anyone that is anything above a beginner level
@WebDevCody5 ай бұрын
sure, but beginners watch my content
@3litepker5 ай бұрын
@@WebDevCody did you assume my level? Triggered mate
@48_subhambanerjee225 ай бұрын
As a newbie who will be entering in this IT sector.. this is what i will do 😢😢😢😢
@matteokinkela5 ай бұрын
I gotta remember shift+fn+option+F12 somehow
@codinginflow5 ай бұрын
yolo
@shaked12335 ай бұрын
Now convert this video to vim
@ElHeloint5 ай бұрын
Php code igniter app deployed on a VM running on an old basement machine of the office, no docker, no readme about reproducibility, nothing. Commands like "find" and "grep" are your friends in those times. Well, also th exit door is friendly, to leave that sht hole