gauravv.hashnode.devUnderstanding Compiling, Minifying, Bundling, and more...Some things should be done when you take your app from the development to the production environment. For example, the code needs to be compiled, bundled, minified, and code split. Let's understand these terms. Compiling Let's understand it with an e...Jun 8, 2023·3 min read
gauravv.hashnode.devUpdating objects in a State. How not to use spread operator.Understanding state and mutating object. To add interactivity, we use state in react, the UI changes only when the state changes, when you set a new state, not by mutating the state. That's why you shouldn't change objects that you have stored in rea...Jun 7, 2023·4 min read
gauravv.hashnode.dev21 new awesome features which are going to make the web even easier.While we've all been distracted by the terrifyingly overhyped rise of artificial intelligence, the web platform has landed some game-changing new features that you probably haven't heard of yet. And they will change the way we build websites forever....Jun 5, 2023·4 min read
gauravv.hashnode.devHow calling setState in useEffect can cause re-renders in a loop.I was developing a blog site. And I knew if I used the setState function in useEffect it could cause an error but I did not know how to fix it. I was fetching data in useEffect to display the page with its respective data and I also used dynamic rout...May 31, 2023·4 min read
gauravv.hashnode.devUsing chatGPT to evaluate answers.I was playing with chatGPT and was curious to know if it could evaluate the answer to the given question and give me the marks based on the answer accuracy. This could help students evaluate their answers and receive an immediate response on their pe...Mar 8, 2023·4 min read