Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Simple, reactive labels for SolidJS

License

NotificationsYou must be signed in to change notification settings

lxsmnsyc/solid-labels

Repository files navigation

NPMJavaScript Style Guide

Example

Install

npm install solid-labels
yarn add solid-labels
pnpm add solid-labels

Features

  • 🏷 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!

Usage

Typescript

<any file>.d.ts

/// <reference types="solid-labels" />

Babel

.babelrc

{"plugins": [    ["solid-labels/babel", {"dev":false }]  ]}

[!INFO]: You don't have to use this if you're using Vite or Rollup plugins

Integrations

Disabling features

You can disable some features by passingdisabled option to the plugin options.

{disabled:{labels:{signal:true,},pragma:{'@signal':true,},ctf:{$signal:true,},}}

Limitations

  • Detecting shadowed identifier forsignal andmemo.

Sponsors

Sponsors

License

MIT ©lxsmnsyc

About

Simple, reactive labels for SolidJS

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp