- Notifications
You must be signed in to change notification settings - Fork9
Simple, reactive labels for SolidJS
License
NotificationsYou must be signed in to change notification settings
lxsmnsyc/solid-labels
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
npm install solid-labels
yarn add solid-labels
pnpm add solid-labels
- 🏷 Labels: Turn labels into SolidJS utility calls!
- 💬 Comments: Turn comments into SolidJS utility calls, too!
- ⏱ Compile-time Functions: Use functions that are evaluated during compile-time!
- 📦 Auto Imports: No need to import SolidJS utilities, explicitly!
- 🤝 JS and TS Friendly!
<any file>.d.ts
/// <reference types="solid-labels" />
.babelrc
{"plugins": [ ["solid-labels/babel", {"dev":false }] ]}
[!INFO]: You don't have to use this if you're using Vite or Rollup plugins
You can disable some features by passingdisabled
option to the plugin options.
{disabled:{labels:{signal:true,},pragma:{'@signal':true,},ctf:{$signal:true,},}}
- Detecting shadowed identifier for
signal
andmemo
.
MIT ©lxsmnsyc
About
Simple, reactive labels for SolidJS
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published