Engine Context

The context for accessing the engine API


You can access the Qlik engine in any component in your React component tree, see below for an example which returns the engine to the console.

import React, { useContext } from 'react'
import { EngineContext }from '@motor-js/engine'

const Example = () => {

	const { engine, engineError } = useContext(EngineContext)
	return (
			Engine Example

export default Example

Last updated