preact-signals
preact-signals copied to clipboard
Preact Signals: Supercharge your React/Preact development! Unleash the power of reactive programming with hooks, components, a TanStack query adapter, and more. Code smarter, not harder
@preact-signals Monorepo
Goal of the project to provide comprehensive tooling for using preact/signals
Playground:
Packages
@preact-signals/utils: A package that contains a lot of utils for many purposes. I think it should be kinda stdlib for using preact signals. Utils contains: Solid js like resource, for handling async reactivity, Simple flat store implementation that wraps values into signals getters, Vue deep reactivity tracking, high order components.@preact-signals/safe-react: Unofficial@preact/signalsintegration for react, that tries to be bullet proof.@preact-signals/query: Tanstack query core preact signals bindings@preact-signals/unified-signals: This package reexports@preact/signals-react, with hooks shims in case of overwriting dependencies. And also polyfills newest preact signals features.
Contributing
Contributions are welcome!
- Clone the repository:
git clone https://github.com/XantreDev/preact-signals.git - Install dependencies:
pnpm install - Transpile packages and start vite devservers:
pnpm watch - Make changes
- Commit changes to new branch
- Run
pnpm changesetand make PR
License
This project is licensed under the MIT License.
check in stackblitz