How to Use Tailwind CSS in React JS
Step-by-step guide on integrating Tailwind CSS into a React project. From setting up a new React app, installing and configuring Tailwind CSS, to writing your first component with Tailwind classes
OneBite.Dev - Coding blog in a bite size
Step-by-step guide on integrating Tailwind CSS into a React project. From setting up a new React app, installing and configuring Tailwind CSS, to writing your first component with Tailwind classes
How to render different components based on value or conditionally in ReactJS without using switch case since that's not available
what is useRef in Reactjs, when is it useful to use? what is the different with declaring normal variable in React
This is a simple guide on how to use react developer tools in browser like chrome, firefox or safari to help us, debug and inspect: components, props and state
How to solve error objects are not valid as a React child when passing a children into nested React Component
If you need a different behavior of your on click action in ReactJS, depend on if else logic you have, try this
How to have a multiple if else condition in ReactJS template that depends on multiple set state variable or just in general
What is the correct type when using onClick event in reactJS using typescript
Lets see how we can add a class name based on ternary operator result in ReactJS. Whether a single class name or multiple class names.
I got an error on my react app says: Too many re-renders. React limits the number of renders to prevent an infinite loop. How can I solve this?
Today I learned, that we can't access the variable inside addEventListener function we manually write for an element in React, Javascript
I want to share how I finally solved the Next.js Head problem that auto parse HTML entity. In my case, I want to remove & (ampersand sign) being encoded by Next.js Head.
Learn how to update useState value based on new value reactjs. I encountered a problem, where I can't manipulate newest addition on my array that using useState in react
Be careful when using useEffect in React. it can bring unintentional behavior you don't want, like calling API multiple times