I am building an isomorphic site using Fluxxor and React. Using node-jsx for the transforms and it works very well. Just having an issue though now as I have installed node-fibers to try to get around the issue of async data not populating server side on load. https://github.com/facebook/react/issues/1739
node-fibers does not seem to work well with node-jsx though. I get the following error:
Error: Error transforming /var/www/nodeapp/node_modules/fibers/fibers.js to JSX: Error: Parse Error: Line 2: Illegal return statement at Object.require.extensions.(anonymous function) as .js
I am building an isomorphic site using Fluxxor and React. Using node-jsx for the transforms and it works very well. Just having an issue though now as I have installed node-fibers to try to get around the issue of async data not populating server side on load. https://github.com/facebook/react/issues/1739
node-fibers does not seem to work well with node-jsx though. I get the following error:
Error: Error transforming /var/www/nodeapp/node_modules/fibers/fibers.js to JSX: Error: Parse Error: Line 2: Illegal return statement at Object.require.extensions.(anonymous function) as .js