MongoDB schema design anti-patterns while modelling dataData that is accessed together should be stored together. A document should not acceed the 16MB size limit. A lot of developers simply jump into modelling the data in MongoDB without understanding it's design patterns and that leads to scalability ...Mar 13, 2022 · 3 min readopsaran.hashnode.dev
How to optimize your WordPress siteWordPress powers around 40% of the websites on the internet, but most of them are slow and not optimized. You run lighthouse and find your website's performance score to be 30%, that's a really bad impression on the visitors and will lead to bad con...Mar 8, 2022 · 2 min readopsaran.hashnode.dev
Demystifying useMemo and useCallback hooksReact useMemo Hook useMemo returns a memoized value. What is memoization? You might ask, well it's prevents the reconstruction of objects during DOM re-renders. Almost like caching a value so that during DOM re-renders, it can serve the cached val...Mar 7, 2022 · 3 min readopsaran.hashnode.dev
How to optimally use icons and logos in your webpage(Using Figma)Lower the number of http requests, the better. The problem: We usually go to fontawesome to find the required icon and if the icon isn't free, then we search some other icon library. We add a bunch of such lines in our document: <link rel="styleshe...Mar 7, 2022 · 2 min readopsaran.hashnode.dev
Why Node.js + Express.js? (When there are better options)Modern web development is mostly about speed and scale, So, where does Node + Express stand? Before learning Node + Express, I wanted to be sure that I was learning the right thing. I researched a bit about it and found out that there are many better...Jul 3, 2021 · 1 min readopsaran.hashnode.dev