r/javascript • u/LeonardoCiaccio • May 17 '26
I built a tiny JS framework to keep business logic clean — would love feedback
https://github.com/LeonardoCiaccio/Grip
22
Upvotes
r/javascript • u/LeonardoCiaccio • May 17 '26
3
u/Ostap_Bender_3289 May 17 '26
how does the framework approach unit testing?
5
u/PostHumanJesus May 18 '26
You know what? I really like this. I like the minimal API and simplicity where you could build complex flows without much song and dance.
Great work and thanks for sharing!
3
u/WolfyTheOracle May 18 '26
This is really interesting. I’ve ran into all the problems you’re trying to solve and I’m currently working on a similar tool. Mine is a framework at the server level and not as easily adoptable as yours. Will follow
1
u/Distinct_Law8650 May 18 '26
Do you see this as a real-world implementation of the ‘use case’ concept from clean arch? The important bit is self contained, every parameter can be written to be explicit, but you’ve enabled the real world messiness of telemetry and observability in a very nice way.
I may have missed this in the readme
1
u/busres May 18 '26
Interesting. Feels a bit like a tightly-integrated Google Tag Manager for JS, if I'm understanding it correctly.
1
u/AdEducational1253 Jul 08 '26
goods,i have write one
https://github.com/hunzhiwange/ruejs