3 Matching Annotations
- Jun 2020
-
syntax.wiki syntax.wiki
-
import * as React from 'react';
- React team now actually recommends import * as React from "react"; now. Here's a reference pull request: https://github.com/facebook/react/pull/18102
- React is not an ES6 library, it uses "module.exports = React.default || React" (Node CommonJS) => need Webpack.
- Typescript is strict (follows the rules) when it comes to this, which is why they require you to import * as React from 'react'
- Tree-shaking should work.
- Material-ui also migrated to this syntax.
-
- May 2020
-
syntax.wiki syntax.wiki
-
Integrated commenting system for Syntax.wiki!
-
-
hypothes.is hypothes.is
-
GitHub
why don't just just show the script tag to embed Hypothesis in any website. No need to "head to Github" to spend more time, hassles etc.
-