Spectrum is now read-only. Learn more about the decision in our official announcement.


A community of developers, designers and others who love React.js. ⚛️

Show previous messages

February 7, 2021 at 4:20pm
Hello, I am looking to get pointed in the right direction with a react router and react transition group issue.
I am creating a routed slide transition based on this project I am able to get this partially working as the enter transition works, but the exit does not always work as the actual component gets unmounted before the exit transition.
In the uploaded gif we can see the first exit has content, but the second exit loses its content. I am using childFactory in the TransitionGroup which seems to be working as we see the divs properly get the right classes. I just can't figure out why the content unmounts before the transition.
Another note is that the exit works with the root path /, and is not working on any other ex. /routeName. I have looked into causes being css, properly setting keys, the routes themselves too no avail. Any help would be appreciated.

February 10, 2021 at 10:05am
I am trying to display a component 3 time. I have an array of object but when I try to the slice method it shows an error "can not read property slice of undefined.

February 15, 2021 at 10:05am
Hi , guys I am trying to visualise Arduino sensor data to my react app in real time any one have any idea how to do it ? On localhost only I don't wanna deploy it

March 2, 2021 at 7:56am
Hello everyone, i want to display pop up videoplayer in React once i click on one of the embedded videos in my component

March 5, 2021 at 7:09pm
Hi guys! Im trying to use a Loader component I created in a react app, I can use it in some of the pages and it works just fine, but In some pages it just not working, I guess Im failing in sending some props but im not understanding exactly what im doing wrong...

March 7, 2021 at 11:32am
Can anyone help me for multi search in material ui react table ?

March 10, 2021 at 9:08am
hello, does anyone develop a project about micro frontend ?
Which component services do you use when developing microfrontend?

March 11, 2021 at 12:56pm
Hi every one! I'm New in this group. I'd like to know some thinks about hooks. Does component Is mounted every time state variable change ? Thanks for help

March 20, 2021 at 2:08pm

April 20, 2021 at 10:23pm
Hi everybody.
Any body can help me?
I have trouble with upgrading existing react project.
I get this error; React Hook "useState" is called conditionally. React Hooks must be called in the exact same order in every component render react-hooks/rules-of-hooks.
But there is no conditionally call or nested functions.
I am not a beginner but I can not fix this error.
Please help me any body.
That was working on react 16.13 but return that error on react 17
Help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

April 22, 2021 at 2:52am
could you show your code?

May 11, 2021 at 7:40am
Hi Guys this is my code, in this i am facing one issue after clicking on AudioCard the audio is not playing in first attempt after clicking second time this is working. Can anyone help me with this?
send me code
Show more messages