Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drsounds/react-control-statements
Introduces explicit control statements to react
https://github.com/drsounds/react-control-statements
Last synced: 6 days ago
JSON representation
Introduces explicit control statements to react
- Host: GitHub
- URL: https://github.com/drsounds/react-control-statements
- Owner: drsounds
- License: mit
- Created: 2024-07-08T10:04:10.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T10:38:09.000Z (4 months ago)
- Last Synced: 2024-07-08T13:18:34.846Z (4 months ago)
- Language: TypeScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-control-statements
This library introduces a set of React.JS components that can emulate common control statements such for-loops, if statements to make the render code much more
versatile to read, to minimic control flows in other template engines such Django template Engines with 'empty' statements in loops.This project were inspirated by [@babel-plugin-jsx-control-statements(https://www.npmjs.com/package/babel-plugin-jsx-control-statements)]
but
has the advantages of not introducing the need to install a jsx plugin, but instead make use of contexts.# License
Copyright (C) 2024 Alexander Forselius
MIT