opsflowhq / method.js

Framework for developing business systems fast
0 stars 0 forks source link

Components for actions like react for UI #3

Open VladymyrPylypchatin opened 1 day ago

VladymyrPylypchatin commented 1 day ago

It would be great to be able to create components for actions within the system in a similar way to components in React.

So, they encapsulate some logic or API requests in them.

Then, you can assemble business logic from them declaratively, as you do with the react.

A good example is pipedream components https://pipedream.com/docs/components/actions-quickstart

VladymyrPylypchatin commented 1 day ago

These components can then implement shared solutions to issues like this one #2

So when you define a component you define in declarative way whether you want it to be cached or not