Skip to content

devtools

Developer tools for states and actions inspecting

Installation

#
Terminal window
npm install @reatom/devtools

Usage

#

You typical setup would look like that.

import { createCtx, connectLogger } from '@reatom/framework'
import { connectDevtools } from '@reatom/devtools'
const ctx = createCtx()
if (import.meta.env.DEV) {
connectLogger(ctx)
connectDevtools(ctx)
}
// ...