🚀 Day 3 of Learning Node.js Today's topic was Node.js Modules. What I learned: * What modules are * How to use require() * How to export functions from one file and use them in another This helps organize code better and make it reusable. Step by step moving deeper into backend development. #NodeJS #JavaScript #Coding #MERNStack Day 4 Post – Built-in Modules Writing
Node.js Modules: Require() and Reusability
More Relevant Posts
-
Today's chai code class was about node js internals We learned a bit about how Node.js works behind the scenes, but it was a lot to grasp! 1. Event Loop: How Node.js handles tasks one by one 2. Async behavior: Lets apps run fast without getting stuck 3. Timers & callbacks: Basics of how things happen in order I’ll be learning more and sharing a detailed post on Node.js internals soon! Thanks to our teacher Piyush Garg for guiding us through this complex topic! #NodeJS #JavaScript #LearningJourney #BackendDevelopment #TechLearning #chaicode Hitesh Choudhary Anirudh J.Akash Kadlag
To view or add a comment, sign in
-
-
🚀 Learning Node.js Internals with Akshay Saini 🚀 Recently, I learned the 5-step mechanism of require() in Node.js. It was interesting to go beyond just using require() and actually understand what happens behind the scenes. I also explored the Node.js GitHub repository to see how it works internally. 🔥 The 5-Step Mechanism of require(): 👉 1. Resolving the Module 👉 2. Loading the Module 👉 3. Compile Step (Wrapping inside IIFE) 👉 4. Code Evaluation 👉 5. Caching 💡 Key Insight: Understanding these internals helps in writing better, optimized, and predictable code. Grateful for the guidance and excited to keep learning more deeply 🙌 #NodeJS #JavaScript #BackendDevelopment #LearningInPublic #OpenSource
To view or add a comment, sign in
-
Node Internals🫡 Today we explored Node.js in depth and learned about its architecture and how it works internally. Nodejs==(V8 engine + livuv library + C++) Lifecycle of the Eventloop EventLoop TRUE{ expired callback(); IO polling(); setImmediate(); close callback(); } Thank you, Piyush Garg sir, for guiding us and teaching Node.js so clearly. #chaicode #javascript #nodejs #learning #learninpublic
To view or add a comment, sign in
-
-
Just published a new blog post on Core Modules in Node.js This article explains what Node.js core modules are and how they help build efficient backend applications using built-in modules like fs, http, path, os, and events. It also includes clear explanations along with code examples to help you understand how each module works in real-world scenarios. If you're learning Node.js, this is a great place to strengthen your fundamentals. Read more: https://lnkd.in/gimJqmg5 #NodeJS #JavaScript #BackendDevelopment #WebDevelopment #Programming #SoftwareEngineering
To view or add a comment, sign in
-
-
State vs Props in React Simplified: If you're learning React, this is one of the most important concepts to understand 1. State: Managed inside the component Can be updated (mutable) Used for dynamic data (like counters, inputs) 2. Props: Passed from parent to child Read-only (immutable) Used to share data between components In short: State = “owned data” Props = “received data” Understanding this difference helps you write cleaner and more predictable React code. What confused you more when learning React: State or Props? #React #JavaScript #WebDevelopment #Frontend #Coding #100DaysOfCode
To view or add a comment, sign in
-
-
🚀 JavaScript vs TypeScript: Quick Guide for New Devs! 🚀 Confused on which to learn first? Let's simplify—no fluff! JavaScript 💨 • Super flexible, no type rules • Quick to code & prototype • Errors pop up when running • Ideal for beginners + small apps TypeScript 🛡️ • Adds types for extra safety • Spots bugs BEFORE launch • Scales perfectly for teams/big projects • Like JS but smarter! Real Diff? JS = Speedy Start | TS = Long-Term Wins Your Pick? Newbie? JS first! 📱 Pro apps? Add TS later (it's JS + types!) Master JS → Level up to TS = Unbeatable dev! 🔥 Who's your team? JS or TS? Comment below! 👇 #JavaScript #TypeScript #WebDevelopment #Frontend #CodingTips #LearnToCode #Programming #DevJourney #SoftwareDeveloper #TechTips #ReactJS #WebDev #BeginnerCoder #JavaScriptDeveloper
To view or add a comment, sign in
-
-
Master the art of creating CommonJS (CJS) modules in Node.js. The foundation of Node's module system! 📦 Learn how to export functionality using module.exports, import with require(), and structure your code for reusability. Perfect for understanding legacy codebases, npm packages, and the module patterns that powered Node.js to success. #NodeJS #CommonJS #CJS #JavaScript #WebDevelopment #Programming #ModularCode #BackendDevelopment #SoftwareEngineering #CodingTips #NodeJSModules #RequireVsImport
To view or add a comment, sign in
-
Many developers jump into building React applications without fully understanding the fundamentals. Concepts like JSX, components, props, state management, and lifecycle handling form the foundation of scalable and maintainable applications. This cheat sheet is designed to help you quickly revise and strengthen these core concepts. If you're working with React or planning to start, building a strong foundation will make everything else easier. You can explore free learning resources at CipherSchools to deepen your understanding. : https://lnkd.in/gBrTqQ9F #CipherSchools #ReactJS #FrontendDevelopment #WebDevelopment #JavaScript #SoftwareEngineering #Developers #TechCareers #Coding #FrontendDev
To view or add a comment, sign in
-
𝗧𝘆𝗽𝗲𝗦𝗰𝗿𝗶𝗽𝘁 𝗵𝗮𝘀 𝗲𝘀𝘀𝗲𝗻𝘁𝗶𝗮𝗹𝗹𝘆 𝘄𝗼𝗻. 🏆 90%+ of new projects in 2026 are starting with TypeScript by default. The JS vs TS debate? It's over. Here's why I switched to TypeScript and never looked back: → Catch bugs BEFORE they hit production → Better IDE autocomplete = faster development → Self-documenting code — no need to explain every function → Works perfectly with React, Next.js & Angular → Type-safe APIs with tRPC = no more guessing backend responses I've been using TypeScript in every project at Taapti Technologies and the difference in code quality is night and day. 🚀 Are you still writing plain JavaScript in 2026? Drop a 🙋 if you've made the switch! #TypeScript #JavaScript #Frontend #ReactJS #NextJS #Angular #WebDevelopment #FrontendDeveloper #Coding #Programming
To view or add a comment, sign in
-
-
📚 Today’s Learning – React Strict Mode 1.It runs additional checks and warnings for unsafe lifecycle methods, unexpected side effects, and deprecated APIs. 2.One interesting behavior is that components may render twice in development to help detect side effects. 💡 Key takeaway: Strict Mode doesn’t affect production builds, but it helps catch bugs early during development and encourages writing safer, cleaner React code. #ReactJS #FrontendDevelopment #WebDevelopment #JavaScript #CodingJourney #LearnInPublic
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development