isomithric

1.0.0 • Public • Published

Isomithric

An isomorphic javascript framework on top of Mithril.

Philosophy

  • Class-based unidirectional data flow
  • Apps are comprised of "Components" and "Models"
  • Components hold state and business logic for views
  • Models hold persistent data and business logic for that data

Goals

  • Server-side render on first page load, dynamic rendering for subsequent actions
  • Server-side m.request implementation
  • Server-side m.route.param implementation
  • Global sugartags
  • Automatic constructor property argument binding
  • Mixin support for classes

Install

npm install isomithric

Example

Checkout the isomithric-example project for a working example.

Component Lifecycle

Component Lifecycle

Note: this is pseudocode, constructors have access to extended properties

Readme

Keywords

Package Sidebar

Install

npm i isomithric

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • winton