SSSupratim Sarkarinssarkar8.hashnode.dev·May 1, 2024 · 2 min readReact useLayoutEffect vs. useEffect HooksLet's explore React’s useEffect and useLayoutEffect Hooks, such as how they handle heavy computations and inconsistent visual changes What is the useEffect Hook? The useEffect Hook is a powerful tool in React that helps developers manage side effects...00
SSSupratim Sarkarinssarkar8.hashnode.dev·Apr 30, 2024 · 3 min readReact Lazy LoadingLazy loading in React allows you to split your code into smaller chunks, loading only the code that is needed for a particular part of your application when it is actually required. This can improve the initial loading time of your application. React...00
SSSupratim Sarkarinssarkar8.hashnode.dev·Apr 22, 2024 · 2 min readComposite Design PatternThe Composite Pattern is a Structural Pattern that allows us to treat a group of objects the same way as a single instance of the object. The Composite Pattern is made of the following objects: Component The Component is the abstraction for all Compo...00
SSSupratim Sarkarinssarkar8.hashnode.dev·Apr 19, 2024 · 2 min readAdapter Design Pattern in JavaAdapter design pattern is a structural design pattern that allows two incompatible interfaces to work together. It acts as a bridge between two interfaces, making them compatible and enabling them to work seamlessly. Key Components: Target Interface...00
SSSupratim Sarkarinssarkar8.hashnode.dev·Apr 15, 2024 · 3 min readSingleton Design Pattern in JavaSingleton is a creational design pattern that lets you ensure that a class has only one instance. Singleton design pattern allows us to create only one instance of a class and make sure that there exists only one Object in JVM. How to achieve it? 1.p...00