@preact/signals-preact-transform
v0.1.0
Published
Manage state with style in Preact
Readme
Signals Preact Transform
A Babel plugin to provide names to all your useComputed and useSignal invocations.
Installation:
npm i --save-dev @preact/signals-preact-transformUsage
To setup the transform plugin, add the following to your Babel config:
// babel.config.js
module.exports = {
plugins: [["module:@preact/signals-preact-transform"]],
};As this is a development plugin it is advised to remove it when you go to production to remove some bundle size.
License
MIT, see the LICENSE file.
