Functional, Asynchronous, Component-based UI Library that works with JSX
npm install --save @sparkwave/somatic
All components in Somatic are regular (stateless) or generator (stateful) synchronous or asynchronous functions, . No classes, hooks, proxies or template languages are needed. These feature allows for simple and direct state management right inside components.
Somatic supports the JSX syntax popularized by React, allowing you to write HTML-like code directly in JavaScript.
Somatic allows component authors to manage the interaction between state and props directly in components, without any ugly life-cycle methods as in React, by injecting any props updates in the generators returned from stateful components.
Somatic supports very strong JSX typing. Elements and children are well typed, and components can specify if they accept children, something not possible in react