Skip to content

Latest commit

 

History

History

template

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Solid Primitives template-primitive

@solid-primitives/template-primitive

size version stage

A sample primitive that is made up for templating with the following options:

createPrimitiveTemplate - Provides a getter and setter for the primitive.

Installation

npm install @solid-primitives/template-primitive
# or
yarn add @solid-primitives/template-primitive
# or
pnpm add @solid-primitives/template-primitive

How to use it

const [value, setValue] = createPrimitiveTemplate(false);

Demo

You can use this template for publishing your demo on CodeSandbox: https://codesandbox.io/s/solid-primitives-demo-template-sz95h

Changelog

See CHANGELOG.md