This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- upgrades to Styled Components v4 - closes #127 (Add dynamic imports) - moves `@types` packages to devDependencies - bumps NPM packages: "cssnano": "^4.1.5" "mini-css-extract-plugin": "^0.4.4", "node-sass": "^4.9.4", "styled-components": "^4.0.2" "ts-loader": "^5.2.2 "typescript": "^3.1.3", "webpack": "^4.21.0",
- Loading branch information
Showing
10 changed files
with
1,145 additions
and
1,284 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Dynamic component that's loaded by `await import("./dynamic")` | ||
|
||
// ---------------------------------------------------------------------------- | ||
// IMPORTS | ||
|
||
/* NPM */ | ||
|
||
import * as React from "react"; | ||
|
||
// ---------------------------------------------------------------------------- | ||
|
||
// Say hello from GraphQL, along with a HackerNews feed fetched by GraphQL | ||
const Dynamic: React.SFC = () => ( | ||
<> | ||
<h2>This component was loaded dynamically!</h2> | ||
</> | ||
); | ||
|
||
export default Dynamic; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters