Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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