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...Feb 28, 2023 · 3 min readshineve.hashnode.dev
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'); ...Feb 11, 2023 · 3 min readshineve.hashnode.dev
Simplify your animations with Lottie now!Background I trust many front-end engineers feel that reproducing animations with CSS is really hard. Let me introduce you a really nice library which can save you from that, Lottie (produced by Airbnb). Lottie is not restricted to Web development bu...Feb 22, 2021 · 3 min readshineve.hashnode.dev