JavaScript Style GuideIn JavaScript, we usually use camelCase for naming variables, functions, and object properties, but for naming classes, we use PascalCase. This helps to differentiate between classes and regular variables and makes the code more readable and easier t...3 min read·shineve.hashnode.devFeb 28, 2023
5 Tips for Writing Cleaner CodePrevent unnecessary nesting Too much nesting can make the code harder to read and more prone to errors, so we can return early to avoid excessive nesting. // Bad function deleteItem(item) { if (item != null) { console.log('Deleting item'); ...3 min read·shineve.hashnode.devFeb 11, 2023
Simplify your animations with Lottie now!Save time on complex animations!3 min read·shineve.hashnode.devFeb 22, 2021