menu
Channels
Team
Posts
Chat
Members
Info
Show previous messages

March 19, 2020 at 6:38am
  • reply
  • like
Can anyone please help me with this problem?
  • reply
  • like

March 23, 2020 at 8:50am
how knows how to prevent blinking UI? i want to render a component when the router changed and fetch a new data for show to UI, but sometimes when i click on event, the date is fetched have a blink
  • reply
  • like

March 24, 2020 at 7:27pm
Hii, I'm new to using react with Typescript, when using the useRef hook, you always see the "!" after the initialization with null. const ref = useRef<HTMLAudioElement>(null!); I couldn't find what's the purpose.
  • reply
  • like

March 25, 2020 at 11:00am
Hello everyone how to create the image gallery in react like isotope plugin gallery
  • reply
  • like

March 27, 2020 at 10:54pm
Hello everyone, Im new to react hooks
Currently I am dealing with a problem where I have to use the previous state inside of a useEffect hook.
useEffect(() => {
buttonEvent$.pipe(skip(1)).subscribe(({value, type}) => {
handleButtonEvent(value, type);
});
return () => {
buttonEvent$.unsubscribe();
}
}, []);
In the above example, I need to access previous state inside of handleButtonEvent method. how can I do this ?
  • reply
  • like
if (operator === '') {
setOperandOne((prevState => { return {...prevState, value: `${prevState.value}${value.name}`}}));
} else {
setOperandTwo((prevState => { return {...prevState, value: `${prevState.value}${value.name}`}}));
}
A snippet of code inside the handleButtonEvent method, I need to use a if condition based on the state of operator . But it is always the initial value only.
  • reply
  • like

March 28, 2020 at 4:28pm
im sheila hensley imhaving problems with my wifi on my phone
  • reply
  • like
can someone please help me
  • reply
  • like

March 29, 2020 at 10:13am
Hi i am Monika i am new in the react i have the basic knowledge of react can someone help me to know about how we can use multilingual in react
  • reply
  • like

March 30, 2020 at 7:23am
How to add preloader in react js
  • reply
  • like

March 30, 2020 at 3:23pm
Hey guys, I have a dialog that's supposed to show on button click, and close when close btn is clicked inside dialog
  • reply
  • like
this is my state and the function that mutates the state
  • reply
  • like
  • reply
  • like
this is the button responsible for showing the dialog which works and the dialog shos
  • reply
  • like
shows*
  • reply
  • like
  • reply
  • like
  • reply
  • like
this is the rendering function that renders the dialog only when criteria is true, inside it there's a cancel btn that's supposed to close the dialog and set the state to false
  • reply
  • like
it doesn't work
  • reply
  • like
but when I bind the ShowFiltersUI to a btn outside SearchFiltersPopup div it works just fine
  • reply
  • like
Idk where's the problem
  • reply
  • like

April 2, 2020 at 1:50pm
Getting any errors in the console?
  • reply
  • like

April 7, 2020 at 12:07pm
Friendly reminder to please read the Posting Guidelines. Been noticing 80% of posts do not fall within them.
Edited
  • reply
  • like