A React hook to get the Database instance from the nearest DatabaseProvider using the same DatabaseContext.
This is only available when using React 16.8 or newer. Use DatabaseContext.Consumer if you need to use an earlier version.
Generated using TypeDoc
A React hook to get the Database instance from the nearest DatabaseProvider using the same DatabaseContext.
This is only available when using React 16.8 or newer. Use DatabaseContext.Consumer if you need to use an earlier version.