Skip to main content
Version: 3.0.0-beta

useFireCMSContext

Get the context that includes the internal controllers and contexts used by the app. Some controllers and context included in this context can be accessed directly from their respective hooks.

The props provided by this hook are:

  • dateTimeFormat?: Format of the dates in the CMS. Defaults to 'MMMM dd, yyyy, HH:mm:ss'

  • locale?: Locale of the CMS, currently only affecting dates

  • dataSource:Connector to your database, e.g. your Firestore database

  • storageSource: Used storage implementation

  • navigation: Context that includes the resolved navigation and utility methods and attributes.

  • sideEntityController: Controller to open the side dialog displaying entity forms

  • authController: Used auth controller

  • entityLinkBuilder?: Builder for generating utility links for entities

  • userConfigPersistence: Use this controller to access data stored in the browser for the user

  • snackbarController: Use this controller to display snackbars

Sign up to our newsletter to get the latest news and updates. No spam!