Log in Sign up
1 Matching Annotations
  1. Oct 2020
  2. github.com github.com
    order import statements to break cyclical dependency deadlock (#87) by Rich-Harris · Pull Request #100 · styled-components/styled-components
    1
    1. TylerRick 21 Oct 2020
      in Public
      Replaced nested `require` statements with `import` declarations for the sake of a leaner bundle. This entails adding empty imports to three files to guarantee correct ordering – see https://github.com/styled-components/styled-components/pull/100
      good code comment differences ES modules CommonJS modules synchronous asset/script/bundle size order is important / do things in the right order
    Visit annotations in context

    Tags

    • synchronous
    • differences
    • good code comment
    • asset/script/bundle size
    • order is important / do things in the right order
    • ES modules
    • CommonJS modules

    Annotators

    • TylerRick

    URL

    github.com/styled-components/styled-components/pull/100
Share:
Group. Only group members will be able to view this annotation.
Only me. No one else will be able to view this annotation.
Hypothes.is
  • About
  • Blog
  • Bioscience
  • Education
  • Jobs
  • Help
  • Contact
  • Terms of Service
  • Privacy Policy