방금 @ modyra/core: 복잡한 프론트엔드를 위한 작은 상태 레이어

작성자

카테고리:

← 피드로
DEV Community · Lorenzo Muscherà · 2026-07-20 개발(SW)
Cover image for Just shipped @modyra/core: a tiny state layer for complex frontends

Lorenzo Muscherà

I’ve just published a small npm package called @modyra/core that came out of a very specific pain: handling “slightly complex” app state in frontend projects without ending up with a mess of context, custom hooks and scattered stores.

The focus of the package is:

  • Minimal API, all in TypeScript, no hidden magic
  • No heavy runtime: just tools to model the core of your app as a set of state modules
  • Designed to plug into React/Angular/vanilla JS without forcing you to rewrite everything

The idea is to treat your app’s domain as a set of “core units” with clear responsibilities: each unit exposes state, actions and rules, and the rest of the app simply consumes them. It came out of a few projects where Redux/Zustand/signals etc. were fine, but started to feel either too verbose or not very close to the actual business domain.

If you feel like taking a look and tearing it apart, feedback (including harsh ones) is very welcome: naming, API design, examples – everything is still fresh enough to change. And if you think the approach is worth exploring, a star on GitHub would really help me keep pushing the project forward.

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다