Closed billiegoose closed 7 years ago
Looks like a bug in cdnjs plugin - by default the library is loaded from cdnjs if it is available there. As a workaround you can force js
loader for the react script -
System.config({
meta: {
'react': {loader: 'js'}
},
map: {
'react': 'https://unpkg.com/react@16.0.0-beta.2/umd/react.development.js',
'react-dom': 'https://unpkg.com/react-dom@16.0.0-beta.2/umd/react-dom.development.js'
}
})
Thanks @xkam that worked perfectly!
I'm trying to test out the latest and greatest React using a config like this:
react-dom loads fine I think, but I keep running into a 404 error with react:
How come it starts with "https://cdnjs.cloudflare.com/ajax/libs/react/15.6.1" and how do I override that?