Monday, July 4, 2016

ReactJS - > nothing can happen if the outer engine for parsing (babel) is not loaded before the bundle.js(x) created by webpack

If your React app doesn't render anything, and produces no errors, that might be because it's main js(x) file is being skipped, due to missing loader in index.html (babel-core for example).

Here's a sample working reactjs setup using webpack and babel

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...