·
9 commits
to master
since this release
This release brings in ESLint v10 support, introduces a new rule no-units-spawn-in-render to catch spawning units during React render, and tightens mandatory-scope-binding when components are inferred from union return types.
Key changes
- ESLint v10 — The plugin is updated to work with ESLint’s current major release. Supported for ESLint v8 and v9 is still there too. #179 (thanks @kireevmp!)
- New rule:
no-units-spawn-in-render— Helps prevent spawning Effector units inside render paths where it’s usually unsafe or misleading. Now part ofreactpreset. #180 (thanks @AlexandrHoroshih!) - mandatory-scope-binding — Better detection of components when the return type is a union, so scope binding is enforced more reliably. #178 (thanks @kireevmp!)