Engine Context

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/core'
const Example = () => {
const { engine, engineError } = useContext(EngineContext)
return (
export default Example