pieterv / react-googlemaps

A declarative React interface to Google Maps
MIT License
226 stars 68 forks source link

Rename jsx files .jsx #11

Closed braco closed 9 years ago

braco commented 9 years ago

for example,

react-googlemaps/src/ui/components/ReactMap.js

is jsx, not js.

This makes building a little hairy, as it's easier to apply a jsx loader to *.jsx. Webpack works this way.

kellec commented 9 years ago

If React is included in the module namespace then jsx loader will work on .js files so we shouldn't need the .jsx extension.

dempfi commented 9 years ago

+1