Context:
react-state-basis currently relies on a Babel plugin for structural semantic extraction (hook labeling). While this works for standard Vite/CRA setups, it’s a blocker for Next.js and modern SWC-based pipelines.
The Goal:
We need to port the logic from src/babel-plugin.js to an SWC plugin (Rust). This will allow the auditor to automatically label hooks without forcing users to move back to Babel.
Why I'm not doing it yet:
I am currently focused on the v0.4.x roadmap (Internal Signal Engine, Ring Buffers, and Density Filtering) to ensure the analysis math is bulletproof before opening the floodgates to Next.js users.
Looking for:
Anyone with experience in Rust/SWC plugin development who wants to help build the "bridge" for the modern React ecosystem!
Context:
react-state-basis currently relies on a Babel plugin for structural semantic extraction (hook labeling). While this works for standard Vite/CRA setups, it’s a blocker for Next.js and modern SWC-based pipelines.
The Goal:
We need to port the logic from src/babel-plugin.js to an SWC plugin (Rust). This will allow the auditor to automatically label hooks without forcing users to move back to Babel.
Why I'm not doing it yet:
I am currently focused on the v0.4.x roadmap (Internal Signal Engine, Ring Buffers, and Density Filtering) to ensure the analysis math is bulletproof before opening the floodgates to Next.js users.
Looking for:
Anyone with experience in Rust/SWC plugin development who wants to help build the "bridge" for the modern React ecosystem!