useTrixtaSpace

A react hook that will attempt to connect to the passed Trixta space and optional params, on mount of component. This hook should be used in the entry point of your react application.

import { useTrixtaSpace } from '@trixtateam/trixta-js-core';
useTrixtaSpace({space,params});

Options

  • space : string

  • params : Object | unknown

    • Optional

    • Any optional params when you connect to the Trixta space

Returns

This hook returns nothing

Last updated

Was this helpful?