@ords/react-presentation-model

0.2.1 • Public • Published

Motivation

This is meant as an architectural component that follows the principles of the PresentationModel. This is very close to what is also known as the ViewModel.

The idea with this component is that you can write framework independent business logic that can be easily tested.

State management

It should work with all major state management libraries although rxjs is currently used for state sync between ViewController -> PresentationModel.

Example

Please see the example folder. Remember that all ../src imports should be @ords/react-presentation-model in your code.

Feedback

This is an experiment. Happy to get feedback and improve.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.10latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.10
0.2.00
0.1.00

Package Sidebar

Install

npm i @ords/react-presentation-model

Weekly Downloads

0

Version

0.2.1

License

none

Unpacked Size

8.99 kB

Total Files

15

Last publish

Collaborators

  • runekongsgaard