middleman-react
middleman-react copied to clipboard
Ruby gem for automatically transforming JSX and using React in Middleman.
When writing xyz.js.jsx files, middleman build fails with ``` error build/ads/react_ad_test/main.js undefined local variable or method `path' ``` It does work if I leave it as xyz.jsx, but then the...
out of date extension :(
Here's another cleaned up version of doing server prerendering. Let me know if this works, otherwise I'll split it off into another gem. Thanks.
This pull requests brings in coffee-react, and provides native support for CJSX files. This also fixes the extensions of jsx and cjsx files to include .js.
It would be _really_ awesome if I could render react components during the build process, similar to how it works in react-rails.
`activate :react` in config.rb throws a `NoMethodError: undefined method 'all_settings' for nil:NilClass` and breaks the page to show all settings on/off/possible on the page. This is using ruby 2.1.1 and...