Everything You Need To Know About React.StrictMode

Strict Mode in React StrictMode is a tool for highlighting potential problems in an application. Like Fragment, StrictMode does not render any visible UI. It activates additional checks and warnings for its descendants. Note: Strict mode checks are run in development mode only; they do not impact the production build. HOW TO DO IT - import React from 'react'; function … Continue reading Everything You Need To Know About React.StrictMode

Making Text Selectable – The CSS Way

TWO ISSUES, ONE COMMON SOLUTION The problem - The Bug! And on another issue.. The Bug - Again The two issues are this one and this one. The problem seemed quite simple! And it is actually quite simple! Just inspect the elements in developer console, and add the following CSS to make the text selectable: … Continue reading Making Text Selectable – The CSS Way

Playing Around With Z-Index

In my quest to find & squash more bugs in Mozilla, I stumbled across Firefox Profiler — Web app for Firefox performance analysis. Browsing through the issues, looking around for a bug that's ready and has no one assigned, I came across this one - Screenshot preview is overlaying permalink #1274.The problem was - Screenshots of … Continue reading Playing Around With Z-Index