Skip to content

dhassaine/legacy2react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

legacy2react

This project demonstrates how potentially legacy code, e.g. a Backbone/jQuery app can be integrated with React by using Redux. The React/Redux app can be built using modern build tools and the latest standards allowing the legacy code to migrated slowly and carefully. Please see How to graft React on to legacy code for a more detailed description. You will need to understand the Ducks++ pattern for this project to make sense: Ducks++.

Usage

Simply open index.html to see a working example of two switches: one is implemented using Backbone, and the other is implemented in React; however both are synced through the backbone model and the Redux store.

Installation

If you wish to experiment with the React code (located in the src/react-module directory), you will need node and npm. You install the dependencies by running npm install and to build the assets: npm run build.

About

Example of how to integrate react code to legacy backbone/jquery system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published