React.js – wait for Sage 9?

I have a new Discourse + Wordpress project that I’d like to use React.js on in order to consume the Discourse API from inside Wordpress. However, with Sage 9 coming up, I am finding myself with the choice of trying to incorporate webpack/react.js functionality into Sage 8 or waiting for Sage 9 to come out. Does anyone have code to share on functional Sage 8 React+Webpack setup? Or should I simply start developing other parts of the theme using the Sage 9 alpha and pull in the new front end workflow when it’s done?

1 Like

There is a webpack branch that might be of some use to you - I presume this is v8 with Austin’s webpack integration rolled into it:

https://github.com/roots/sage/tree/webpack

That branch is definitely broken and unusable at this time :frowning:

Not as far as I know

I’d use the Sage 9 right now but I wouldn’t count on waiting on us to get Webpack integrated. There is no ETA. If you have a project that requires Webpack you could always put in the work and contribute back to the project :wink:

2 Likes

Would be interested to know how this project is going. Share links etc. if you can.

2 Likes

Would love to understand if someone has got this working?

1 Like