Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 357 Bytes

File metadata and controls

18 lines (12 loc) · 357 Bytes
layout default
title useStoreContext

useStoreContext

This hook allows to access the global Store.

It should not be used directly. Prefer the specialized hooks (useStore, useResetStore, useRemoveFromStore) instead.

Syntax

import { useStoreContext } from 'react-admin';

const store = useStoreContext();