Re:Fusion.js: A Plugin-Based Universal Web Framework
by jacobr on Wednesday August 01, 2018 @06:40PM
(#17667726)
Pretty sure `import * as React from 'react';` is the correct EcmaScript syntax because React does not expose an ES module compatible `default` export. You're just used to it working anyway thanks to babel accepting CommonJS modules, but TypeScript is the one that actually follows the standard here.
[ Parent
| on HN ]
There are no comments on this comment yet.