T
TanStack3y ago
genetic-orange

Data is empty

Hey ! I'm trying out the v8 version. By copy pasting the react basic example and switching out the makeup data by data coming from a redux store, data is empty
function DTable() {
const devices = useSelector((state) => state.devices);
const [data, setData] = React.useState(() => [...devices]);
function DTable() {
const devices = useSelector((state) => state.devices);
const [data, setData] = React.useState(() => [...devices]);
If I simply console.log(devices, data); I get: Am I missing something ?
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?