Skip to content

Initial port of React#40

Open
mvattuone wants to merge 1 commit intomasterfrom
feature/install-react
Open

Initial port of React#40
mvattuone wants to merge 1 commit intomasterfrom
feature/install-react

Conversation

@mvattuone
Copy link
Contributor

This PR introduces React and deprecates Backbone since we weren't really using models anyway.

This also introduces hot reloading via Webpack which is pretty handy. This will be even more useful once I set up a CSS bundle.

Leaflet and Shepherd rely heavily on the DOM to do what they do which makes it a little tricky incorporating them with React. Probably will be good to look for an alternative for Shepherd, though I don't know exactly how to reconcile the differences between Leaflet and React... there is probably a way.

Definitely needs some cleanup and tests. I'll add some comments explaining some of the more messy bits -- this will be refactored over time but wanted to get it working first.

@matteobanerjee

import L from 'leaflet';
import { Base } from './layouts/Base';

$(document).ready(() => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don't need this anymore.

@mvattuone mvattuone force-pushed the feature/install-react branch from 0bff38d to 8867685 Compare September 6, 2016 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant