1.0.3 • Published 2 months ago

@state-tracer/recoil v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@state-tracer/recoil

Visualize and trace state dependencies in Recoil with an interactive data flow graph.

✨ Features

  • ⚛️ Detects atom, selector, atomFamily, and selectorFamily
  • 🔗 Resolves Recoil dependency graph across multiple files
  • 🖼️ Generates a data flow graph as an SVG via the CLI.
  • 🎯 Fast and lightweight thanks to @hpcc-js/wasm
  • 🧠 Ideal for debugging or understanding large Recoil-based state trees

📥 Installation

pnpm add -D @state-tracer/recoil

🛠 Usage

1. Generate a data flow graph as an SVG

pnpm str ./src

2. Open the SVG

open recoil-graph.svg

⚙️ Options

OptionAliasDescriptionDefault
--output-oSpecify the output path for the generated SVGrecoil-graph.svg
1.0.3

2 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago