Alvison Hunteralvisonhunter.hashnode.dev·May 20, 2024The Elegance of Clean Code: A Fundamental Guide with JavaScriptIn the world of JavaScript development, there is a secret recipe for success that not everyone is aware of: writing clean, concise, and precise code. Clean code is like a well-organized kitchen, where every utensil has its place, concise code is the ...Discussclean code
CHIRAG KUMARichiragkumar.tech·May 4, 2024TypescriptTypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale. 💡 Typescript was introduced as a new language to add types on top of javascript. What we will learn today. What is typescrip...Discuss·388 readsmastertypescript
Eklal Budhathokiblogs.ebudhathoki.com.np·Apr 28, 2024Generic Reusable Component ReactGeneric types are use mainly to create reusable components with type-safety. First, lets create a simple component first. import React from 'react' type TSelectOptions = { label: string, value: string } type TSelectProps = { options: TSelectOptions...DiscussTypeScript
Bipin Yadavbipinyadav.hashnode.dev·Apr 6, 2024Typescript with React JsToday you will learn the fundamentals of TypeScript Core Types. What is Typescript? TypeScript is a superset of JavaScript, which means that it builds upon JavaScript and adds more features to it. One of the key features of TypeScript is the ability ...Manoj Kumar and 1 other are discussing this2 people are discussing thisDiscuss·15 likes·67 readsTypeScript
Rich BuggyProrichdevelops.dev·Apr 1, 2024Moving "server-only" to the top of the importsLike many developers I use Prettier to keep my code base looking consistent. One of the plugins we use is @trivago/prettier-plugin-sort-imports which automatically sorts the order of our imports. While converting an old Gatsby website to NextJS we wa...Discuss·97 readsPrettier
Lokesh Sharmalokeshkavisth.hashnode.dev·Mar 26, 2024Level Up Your React: Adding Basic TypeScript for Stronger ComponentsBuilding React applications often involves moving data and manipulating the DOM. JavaScript, while strong, is prone to type mistakes at runtime. TypeScript, a superset of JavaScript, comes to the rescue by ensuring type safety, resulting in more robu...DiscussTypeScript
Mark Maksimarkmaksi.hashnode.dev·Jan 3, 2024Master TypeScript GenericsGenerics is a concept in programming that allows us to create reusable code. I will first talk about what generics are and then I will show some simple and advanced examples to enforce what we've learned. If you wish to see a real life example of gen...Discuss·35 likes·1.9K readsTypeScript
Chibuzo Odigbofranklivania.hashnode.dev·Nov 30, 2023Build a theme toggle with REACT-TS, TailwindCSS and ContextAPIIntroduction Writing this solution, is because I scoured the ends of the earth to find something that works, and using knowledge obtained from my research, and a YouTube video I watched, I was able to achieve this effect, and I am making this availab...Discuss·1 likeTailwind CSS
Giorgos Athanasouliasathanasu.hashnode.dev·Oct 15, 2023[LS] TypeScript Concepts + ExamplesBefore jumping into the actual content, this post (and the upcoming ones) is one of the cheat sheets I keep in my Notion account. Since these notes were intended for personal use, the writing style is such that it is easy for me to understand. I want...Discuss·50 readsReact
Prince Guptaprincee.hashnode.dev·Sep 5, 2023Making Your Web Development Better with TypeScriptIn this article, I’ll explain how TypeScript can make your web development projects better and more effective. If you’re reading this, I hope you know some TypeScript. But, if you don’t know TypeScript Read This to gain some knowledge about TypeScrip...Discuss·20 likes·32 readsTypeScript