@openbytes/ts-react-directives
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

ts-react-directives

About

ts-react-directives is a small React/Typescript library designed to mimic 'Angular' directives. This is not static library. It's meant to be used as declarative component. Also, it alleviates the limitations and cognitive complexity created by the ternary operations when using conditional rendering.

How to install

Using NPM

npm install @openbytes/ts-react-directives

Using PNPM (preferred)

pnpm add @openbytes/ts-react-directives

Demo

Go to the demo/examples project

Authors

AUTHORS

Package Sidebar

Install

npm i @openbytes/ts-react-directives

Weekly Downloads

15

Version

1.0.1

License

MIT

Unpacked Size

18.3 kB

Total Files

8

Last publish

Collaborators

  • dulan81
OSZAR »