Andrew Efurhievwe

Results 2 comments of Andrew Efurhievwe

use optional chaining on your data array

Rather than data.filter, do data?.filter. Sometimes your internet might be slow, so data which you're fetching might not arrive when immediately. So when you run data.filter, since data would be...