You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Damn ES6 CommonJS confusion. Finally, resolved. Another issue was a default export for React, which was resolved also. Now, it works exactly like expected. Cool!
Err, I wanted to use HiRouter in one of our projects, but got
events.js:141 throw er; // Unhandled 'error' event ^ SyntaxError: 'import' and 'export' may appear only with 'sourceType: module'
Seems, that I need to babel the guy first. Thought it'd be babel'd by our build chain. Need to solve this. This way it's not usable 🎱
The text was updated successfully, but these errors were encountered: