Blog
Page 704 of my articles, tutorials, and thoughts
Latest Articles
Adding script tag to React/JSX
# Adding script tag to React/JSX: A Quick Guide šš” So you've been trying to add an inline script to your React component, but it doesn't seem to work as expected? Don't worry, you're not alone! Many developers face this issue when working with React/JSX
Flutter: Scrolling to a widget in ListView
š Flutter: Scrolling to a Widget in ListView š Have you ever wondered how to scroll automatically to a specific widget in a ListView? š¤ Imagine you have a ListView with multiple containers, and you want to scroll to a particular container when a specif
React - changing an uncontrolled input
# React - Changing an Uncontrolled Input: A Complete Guide Are you confused about React's warning message that says "MyForm is changing an uncontrolled input to be controlled"? Don't worry, you're not alone! This warning can be a bit tricky to understand,
How to call loading function with React useEffect only once
š Hey tech-savvy folks! Are you struggling with making your React useEffect hook call a loading function only once? š¤ Don't worry, I've got you covered! In this blog post, I'll walk you through a quick and easy solution to this common problem. šŖ Before
React Hooks: useEffect() is called twice even if an empty array is used as an argument
š **Blog Post: React Hooks useEffect() is called twice even if an empty array is used as an argument** Are you new to ReactJS and encountering a problem where the useEffect() hook is being called twice, even with an empty array as an argument? š© Don't w
ReactJS - .JS vs .JSX
# ReactJS: ".js" vs ".jsx" - Unveiling the Mystery š§ Welcome to another exciting blog post where we'll uncover the enigma surrounding the usage of ".js" and ".jsx" files in ReactJS! š ## The Confusion: ".js" or ".jsx" ā Many ReactJS beginners, just li
Pros/cons of using redux-saga with ES6 generators vs redux-thunk with ES2017 async/await
# Should You Use redux-saga with ES6 Generators or redux-thunk with ES2017 async/await? There's been a lot of buzz around redux-saga lately - it's the newest addition to the Redux family and it uses generator functions for listening to and dispatching act
How can I update the parent"s state in React?
# How to Update the Parent's State in React and Solve Common Issues š Hey there, tech enthusiasts! Welcome to our tech blog where we unravel complex problems and offer easy solutions! Today, we're diving into the question that many React developers have
Parse Error: Adjacent JSX elements must be wrapped in an enclosing tag
# How to Fix the "Parse Error: Adjacent JSX elements must be wrapped in an enclosing tag" Issue in React.js If you've encountered the "Parse Error: Adjacent JSX elements must be wrapped in an enclosing tag" error while working with React.js, don't worry!
React JSX: selecting "selected" on selected <select> option
š Welcome to my tech blog! Today, we're going to tackle a common issue when working with React JSX: how to set the "selected" attribute on a selected `<select>` option. š In this scenario, we have a React component for a `<select>` menu, and we need to