https://github.com/cesarparra/lwc-signals-plugin
https://github.com/cesarparra/lwc-signals-plugin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cesarparra/lwc-signals-plugin
- Owner: cesarParra
- Created: 2025-01-22T20:31:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-03T01:16:38.000Z (about 1 year ago)
- Last Synced: 2026-03-31T13:42:26.043Z (4 months ago)
- Language: TypeScript
- Size: 734 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lwc-signals-plugin
[](https://www.npmjs.com/package/lwc-signals-plugin) [](https://npmjs.org/package/lwc-signals-plugin) [](https://raw.githubusercontent.com/salesforcecli/lwc-signals-plugin/main/LICENSE.txt)
This is an experimental plugin that allows users of the LWC Signals library to use the bind decorator
in their components
## Reasoning
LWC does not currently support custom Javascript decorators. They do support the standard wire, api, and track
decorators, but do not allow developers to create their own custom ones.
Nonetheless, decorators are an elegant and powerful tool, and we saw the need for then in the LWC Signals library.
## Install
```bash
sf plugins install lwc-signals-plugin
```
## Usage
This plugin has no commands. If your code has the `@bind` decorator, the plugin will automatically
transform your code into a format that LWC can push it to your org, and then transform it back to the original
code after the push.
There's nothing for you to do on your side besides installing the plugin.