SKShubham Khuntinshubhamkhunt.hashnode.dev·Apr 30, 2021 · 4 min readImprove Your React Application Performance With useCallback and useMemo HooksWhen you develop a scalable react application the performance issues come into the picture. For some smaller, less complex applications, performance may never become an issue. But for large-scale react apps, slow performance is a big problem. In most...00
SKShubham Khuntinshubhamkhunt.hashnode.dev·Apr 29, 2021 · 3 min readHow does the Event loop work in javascript?Javascript is a synchronous single-threaded language. All the javascript code is executed inside the call stack. so what is call stack? The call stack is used to keep track of multiple function calls. It is a part of the javascript engine. It is like...01
SKShubham Khuntinshubhamkhunt.hashnode.dev·Apr 28, 2021 · 4 min read5 Best Practices for your next React app1) Avoid inline function definition in the JSX Inline functions are slow because they will create an instance of function on each render if it's used in jsx. This might create a lot of work for the garbage collector. When React does the virtual DOM d...00