-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Im rewriting my display of the data now (a table) - react-table wants a memoized data set. Is the data memoized? I'm sorry I'm kind of a noob. If not memoized how do i memoize it?
const {
data: sheetData,
loading,
error,
} = useMemo(() => {
return useGoogleSheets({
apiKey: GAPI_CONFIG.apiKey,
sheetId,
});
}, [sheetId]);React Hook "useGoogleSheets" cannot be called inside a callback. React Hooks must be called in a React function component or a custom React Hook function.
Metadata
Metadata
Assignees
Labels
No labels