React watercooler
November 16, 2017 at 9:01pmReact watercooler
November 16, 2017 at 9:01pmApril 20, 2021 at 10:26pm
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
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
May 11, 2021 at 3:29pm
I think you should handle playingSong state by useEffect hooks. like this:
const playSong = () => setPlayingSong(require(`.../sound/${title}.mp3`));useEffect(() => {if(playingSong) {const audio = new Audio(playingSong);dispatch({type: "PLAY_SONG",currentPlayingSong: audio});audio.play();}}, [playingSong]);
May 13, 2021 at 12:50pm
signup = (userInfo) => {return todoAxios.post("/auth/signup", userInfo).then((response) => {const { user, token } = response.data;localStorage.setItem("token", token);localStorage.setItem("user", JSON.stringify(user));if (this.state.user && Object.keys(this.state.user).length === 0) {this.setState({user,token,});}return response;});};
May 22, 2021 at 12:09pm
May 24, 2021 at 7:23pm
May 31, 2021 at 1:01pm
Hello Everyone. I have this error everytime I upload big img files. I am using Redux persist. I dont know how to fix it everytime the storage if full. Hope anyone could help me.
June 2, 2021 at 3:35pm
June 8, 2021 at 10:47pm
Hi, i'm trying to add an avatar upload field to the contact form - to this: https://github.com/redhulkrko/ContactFox
Can anyone help me determine the basic changes required to ContactState.js, contactReducer.js and ContactForm.js
I understand Content-Type have to be changed to multipart/form-data?
I think then at some point I would need to set const formData = new FormData();
To append the file? Not sure where I would do that in ContactState.js or ContactForm.js?
June 22, 2021 at 10:27am
July 8, 2021 at 11:10am
August 2, 2021 at 2:31am
hi all, good day, I am new to react and need some help from community to see if there is any online resource to solve my problem. I have array of objects it has id, title, description.. I want to show the data as card and when I click on next and previous button, I want my data to change .. can please anyone help me
anyone
August 2, 2021 at 10:38am