nestedreact

2.1.0 • Public • Published

Important notice

NestedReact is the BackboneJS compatibility layer for React-MVx - modern React MVVM application framework. It will be maintained as long as Verizon/Volicon systems will depend in the legacy technologies - BackboneJS Views and jQuery.

If you don't need to reuse BackboneJS Views in your React application - please, switch to ReactMVx.

NestedReact documentation won't be updated. Use React-MVx docs as your primary source of docs.

Features

Feature list consists of all the features of React-MVx v2.x, plus this:

  • Gradual transition procedure for backbone applications (Backbone Migration Guide):
    • Complete interoperation with existing Backbone Views allowing you to reuse existing code and avoid upfront application rewrite.
    • Any type of application refactoring strategy is possible - top-to-bottom, bottom-to-top, and random parts at the middle.
    • Support for Backbone events and jQuery accessors in React components simplifies View refactoring.

Documentation

Please, use React-MVx documentation as a primary source of documentation and examples.

Installation and Requirements

It's packed as single UMD, thus grab the module or use npm to install. It has NestedTypes model framework, react, react-dom, prop-types, jquery, and underscore as strong dependencies.

npm install --save-dev nestedreact nestedtypes underscore jquery react react-dom prop-types

Module extends React namespace (without modifying original React), and its safe to use it as a replacement for react.

import React from 'nestedreact'

If you're migrating from backbone-based frameworks such as ChaplinJS or Marionette, you need to do following things to make convergence layer work properly:

  • Make sure that frameworks includes nestedtypes instead of backbone.

  • On application start, tell nestedreact to use proper base class for the View.

    React.useView( Chaplin.View );

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.1.010latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.010
1.0.1-rc930
1.0.1-rc920
1.0.1-rc910
1.0.1-rc90
1.0.1-rc80
1.0.1-rc70
1.0.1-rc51
1.0.1-rc40
1.0.1-rc30
1.0.1-rc21
1.0.1-rc11
1.0.1-b070
1.0.1-b060
1.0.1-b050
1.0.1-b040
1.0.1-b031
1.0.1-b020
1.0.1-b010
1.0.1-a040
1.0.1-alpha30
1.0.1-alpha20
1.0.1-alpha10
1.0.0-alpha10
0.6.00
1.0.0-rc60
1.0.0-rc40
1.0.0-rc31
1.0.0-rc20
1.0.0-rc10
1.0.0-rc00
0.6.0-rc90
0.6.0-rc80
0.6.0-rc70
0.6.0-rc60
0.6.0-rc51
0.6.0-rc40
0.6.0-rc30
0.6.0-rc21
0.6.0-rc10
0.5.20
0.5.11
0.5.00
0.5.0-rc920
0.5.0-rc910
0.5.0-rc901
0.5.0-rc90
0.5.0-rc80
0.5.0-rc70
0.5.0-rc60
0.5.0-rc50
0.5.0-rc40
0.5.0-rc31
0.5.0-rc20
0.5.0-rc10
0.4.00
0.3.01

Package Sidebar

Install

npm i nestedreact

Weekly Downloads

21

Version

2.1.0

License

MIT

Last publish

Collaborators

  • gaperton