I\'m fetching some data in my React app, but unfortunately, I cant use useState , the object is always \'undefined\'.
const TableComp = ()=>{ const [data,