markfinger / python-react

Server-side rendering of React components
MIT License
1.62k stars 116 forks source link

Omit 'react/addons' from the generated bundle #33

Closed markfinger closed 9 years ago

markfinger commented 9 years ago

Similarly to 'react', the one difference is that 'react/addons' exports React with an addons prop.

On the server-side it should map to 'react/addons', but on the client-side it should map to 'React'.