Pure Functions in JavaScript: A Beginner's GuidePosted May 15, 2023javascriptfunctionStart discussionA pure function always returns the same value for the same arguments and produces no side effects. Continue reading ➞
Record Type in TypeScript: A Quick IntroPosted April 28, 2023typescriptobjectStart discussionRecord type simplifies typing objects in TypeScript. Let's see how you can benefit from it. Continue reading ➞
How to Write Comments in React: The Good, the Bad and the UglyPosted April 21, 2023reactStart discussion{/* Comment */} is the usual way to write comments in React. But there are 2 better ways to comment you just have to know. Continue reading ➞
4 Ways to Create an Enum in JavaScriptPosted April 14, 2023javascriptenumStart discussionAn enum is a set of named constants. The plain object, frozen object, proxied object or class-based are the 4 ways to create enums in JavaScript. Continue reading ➞
React forwardRef(): How to Pass Refs to Child ComponentsPosted April 6, 2023reactrefStart discussionReact forwardRef() is a tool for passing refs to child components. Discover how to use it with ease in this comprehensive tutorial. Continue reading ➞
TypeScript Function Types: A Beginner's GuidePosted March 28, 2023typescriptfunctionStart discussionAre you struggling to understand TypeScript function types? Look no further! This comprehensive guide covers everything you need to know. Continue reading ➞
How to Use v-model to Access Input Values in VueUpdated May 22, 2023vuev-modelinputStart discussionHow to use v-model to bind form input elements like text input, textarea, select, checkbox, radio in Vue. Continue reading ➞
Mastering Vue refs: From Zero to HeroUpdated May 23, 2023vuerefreactivityStart discussionref() is a Vue composition API function that creates refs: small reactive values. Continue reading ➞
Environment Variables in JavaScript: process.envPosted February 8, 2023javascriptnodejsStart discussionHow to access environment variables in JavaScript using process.env and expose them to the browser runtime using bundlers like Vite and webpack. Continue reading ➞
5 Must-Know Differences Between ref() and reactive() in VuePosted January 25, 2023vuevue compositionreactivityStart discussionWhat are the main differences between ref() and reactive()? And when to use one or another? Continue reading ➞