Skip to content

A runtime declarative, control structure, library for react.

License

Notifications You must be signed in to change notification settings

skycodr/ts-react-directives

Repository files navigation

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

About

A runtime declarative, control structure, library for react.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published