React News

TLDR: I love useEffect, I love custom hooks, but I hate so many other design choice & flaws that's bundled with function component package, that I think React core team needs to address. A lot of peo...

I need to fetch data from GraphQL endpoint when a component is clicked, I cannot store the logic inside of and onCLick for various reasons. So I created a state instead named isClicked. I create...

I'm using the intersection observer API with react to dynamically reposition a popover to make it stay inside the viewport while scolling. The result I'm trying to achieve is similar to this So f...

Hi all! I've started the FullStackOpen course after it came recommended for learning React and beyond. I'm a bit stuck on the first part where it's asking to refactor the Content component to inst...

Hi I'm not a React developer but I do it sometimes to help my wife learning programming (I work with vue). One thing I love about vue is to be able to use global methods in any component instance. I...

Hey /r/reactjs I've tried to do as much research on this as I can over the last two days, but I still don't seem to have come to a solid solution about this. I'm not a frontend developer by tra...

why eat up 185mb of space for a blank project?

I want to implement something like this, at the 25 second mark, where they enter key-value pairs, and there's options to add or delete rows. How can I do that? The goal is to collect the entered data...

I have done login part and created toast bar component. Now i want to show login successful message only when user login. my login action export const loginUser = (email, password) => { retur...

Hi, So my portfolio would contain a form, and I want to make it informative pulling data from github and possibly leetcode (I havent looked if that's possible) to display stats responsively. For ...