Eneas Lari

Embrace curiosity taking risks and allow yourself to make mistakes!

Exploring Technologies

Bad Practices in JavaScript: Common Pitfalls and How to Avoid Them 🚫
28/12/2024

JavaScript is like the Swiss Army knife of web development—it’s everywhere, from tiny website features to massive, complex web apps. But with great power comes... well, the chance to make a mess! Its flexibility and loose rules make it super easy to use, but also super easy to misuse.

Bad Practices in Express.js Apps: Common Mistakes and How to Avoid Them 🚫
27/12/2024

Express.js is one of the most popular frameworks for building web applications with Node.js. It's fast, minimal, and incredibly flexible. However, this flexibility often leaves room for mistakes, especially for developers new to backend development. In this post, we’ll cover some of the most common bad practices in Express.js, why they’re problematic, and how you can avoid them.

Understanding `null` vs. `undefined` in JavaScript and Best Practices for Mongoose Schemas
18/10/2024

We’ll dive into the differences between `null` and `undefined` in JavaScript, how to declare nullable fields in Mongoose schemas, and best practices for creating and managing schemas.

Overview of JavaScript Import and Export Methods
11/10/2024

In JavaScript, exports and imports allow you to share variables, functions, or classes between different files (modules).

Create an SSR app using express , React and Vite
4/9/2024

Set up server-side rendering (SSR) with React, Vite for the frontend, and Express for the backend using modern JavaScript

Functional vs Class-Components in React. Why Fuctional Components are better.
30/10/2023

In the dynamic realm of web development, React.js stands out as a robust and widely-used library for crafting user interfaces. With React, developers can create components using both functions and classes. However, functions have recently become more popular. This article delves into the reasons why functions are viewed as more effective than classes in React.js development, providing examples and insights to underscore this trend.

Understanding JavaScript Collections: Arrays, Sets, Maps, and More
6/10/2023

JavaScript provides developers with a variety of built-in collection types that allow for flexible and efficient data storage and manipulation.

Decoding Server-Side Rendering: Boosting Web Performance and SEO Description
6/10/2023

Explore the power of Server-Side Rendering (SSR) in enhancing web speed and SEO. Dive into its mechanics, benefits for search rankings, and its integration with React

Breaching Boundaries with WebSockets: A Simple Dive into Real-Time Communication in JavaScript
28/9/2023

Dive into the realm of real-time communication as we simplify the concept of WebSockets in JavaScript. Explore its operational mechanism through basic examples and discern the situations where leveraging WebSockets is more ap

Understanding Browser Data Storage: Cookies, Local Storage, and Session Storage
23/8/2023

Today's web browsers are equipped with multiple methods to save data on a user's device. This data can later be fetched when required, enabling long-term data preservation, personalizing user settings for websites, and more.