|
|
|
Show HN: React-logic – DI and signals – write react without hooks
(roypeled.github.io)
|
|
1 points
by halflife
33 days ago
|
|
Hey hackernews, this is a library I created to make react code more manageable, with less code. When working with react I hated how components became hundreds of line of code with tons of intertwined hooks. Heavily inspired by Angular’s mental model, I sought to bring 3 things into react - - separate business logic from the rendering layer - true reactive state using signals - an easy but robust dependency injection system to share state, or replace implementations Beyond that, I added some utils like async signal, forms management, and testing tools I’d love to hear your opinion! |
|