3 Matching Annotations
  1. Jun 2020
    1. 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.
  2. May 2020
    1. Integrated commenting system for Syntax.wiki!

    1. 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.