aprillion
aprillion
RReactiflux
Created by Meraj on 12/28/2022 in #react-forum
Cannot display table using React
for a general advice for debugging, I recommend to log any value that looks suspicious (when you believe it should be something, but the error message sounds like it's something else), e.g. console.log(userArranged[0])
8 replies
RReactiflux
Created by Meraj on 12/28/2022 in #react-forum
Cannot display table using React
{ product: products[i], counts: counts[i] } is an Object and non-array objects don't have Array.prototype.map() you are not using counts in the returned value, so no idea what you are trying to achieve to help with a solution ¯\_(ツ)_/¯
8 replies
RReactiflux
Created by PoppingPopper on 10/8/2022 in #react-forum
setInterval without destroying it to update state?
or read someRef.current from inside an interval
5 replies