▲ | amelius 4 days ago | |
How do you specify callbacks? Config files should be mature programming languages, not Yaml/Json files. | ||
▲ | gervwyk 4 days ago | parent [-] | |
Callback: Blocks (React components) can register events with action chains (a sequential list of async functions) that will be called when the event is triggered. So it is defined in the react component. This abstraction of blocks, events, actions, operations and requests are the only abstraction required in the schema to build fully functional web apps. Might sound crazy but we built full web apps in just yaml.. Been doing this for about 5 years now and it helps us scale to build many web apps, fast, that are easy to maintain. We at Resonancy[1] have found many benefits in doing so. I should write more about this. [1] - https://resonancy.io |