https://github.com/morning-train/react-pipelines
This package is a collection of React components and hooks that enables decoupling business logic into smaller reusable tasks.
https://github.com/morning-train/react-pipelines
Last synced: about 2 months ago
JSON representation
This package is a collection of React components and hooks that enables decoupling business logic into smaller reusable tasks.
- Host: GitHub
- URL: https://github.com/morning-train/react-pipelines
- Owner: Morning-Train
- License: mit
- Created: 2021-01-05T11:40:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-03T05:24:51.000Z (almost 2 years ago)
- Last Synced: 2025-01-07T23:49:15.838Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://react-pipelines.daf-docs.dev
- Size: 2.1 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# React Pipelines · [](https://www.npmjs.com/package/@morningtrain/react-pipelines) [](https://www.npmjs.com/package/@morningtrain/react-pipelines)
This is an opinionated React package that follows a declarative and decoupled approach to making React components more maintainable. The package helps the developer achieve this by being a utility package that helps to create and decouple complex flows of business logic.
In short - this package is a collection of React components and hooks that enables decoupling business logic into smaller resuable tasks.
This is accomplished by wrapping each self-contained section of the logic of a flow into multiple smaller React components - called a pipe in our context.
The timing of the executing of the pipe logic is then determined by where in our pipeline the pipe is rendered. A pipeline is a React component that wraps and tracks the order of any amount of pipes. Whenever a pipeline is triggered to execute, all of its pipes are executed in sequence or parallel.
For some examples inspired by real-life components, take a look at [this page](https://react-pipelines.daf-docs.dev/getting_started/examples/).
The full documentation for this package are [located here](https://react-pipelines.daf-docs.dev/)
## Credits
This package is developed and actively maintained by [Morningtrain](https://morningtrain.dk).
_- _ -__ - -- _ _ - --- __ ----- _ --_
( Morningtrain, Denmark )
`---__- --__ _ --- _ -- ___ - - _ --_ ´
o
. ____
_||__| | ______ ______ ______
( | | | | | | |
/-()---() ~ ()--() ~ ()--() ~ ()--()
--------------------------------------