You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
catch and throw error. I wrote response check in each fetch(), but sometimes there's error in console, but no error display in html template. what should i do to fix this?
What went well?
deploy backend on Heroku.
writing frontend code with react.
chat features
sign up
sign in
send msg
create new ch
switch among channels.
What went less well?
Lessons Learned
when you have multiple fetch() at one webpage, fetch() order is important.
catch and throw error. I wrote response check in each fetch(), but sometimes there's error in console, but no error display in html template. what should i do to fix this?
I can see you are sending the error msg with your api. the problem might be because of Logical Operators. Use console.log to see in what point of the program you get the error. you can make a useState for the error and try to render it.
the problem might be because of Logical Operators. Use console.log to see in what point of the program you get the error. you can make a useState for the error and try to render it.
Study Plan
The text was updated successfully, but these errors were encountered: