Skip to content

v1.0.1

Compare
Choose a tag to compare
@VanTanev VanTanev released this 06 Aug 15:06
· 30 commits to development since this release
  • Allow inspector options to be passed to <XStateInspectLoader> 6f8c39c

This allows you to use the new visualizer with <XStateInspectLoader>!

import React from 'react';
import { XStateInspectLoader } from 'xstate-helpers/react/XStateInspectLoader';

const App = () => {
  return (
    <XStateInspectLoader options={{ url: 'https://stately.ai/viz' }}>
      <YourComponents />
    </XStateInspectLoader>
  );
};

v1.0.0...v1.0.1