Last active
January 15, 2020 13:49
-
-
Save bitttttten/d2c5eee775ad3d1c17914b1fec552fd2 to your computer and use it in GitHub Desktop.
2020 learnings
This file contains hidden or 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
| # CSS-in-JS | |
| ## Avoid facepaint, just use object syntax. | |
| { | |
| color: `blue`, | |
| [mq.large]: { | |
| color: `red`, | |
| }, | |
| } | |
| # Components | |
| ## Styles on variable components (Text, Headings, etc.) | |
| const tagStyles = { | |
| h1: { | |
| lineHeight: `1.2em`, | |
| fontSize: `5rem`, | |
| [mq.large]: { | |
| fontSize: `7rem` | |
| }, | |
| }, | |
| h2: { | |
| lineHeight: `1.4em`, | |
| fontSize: `4rem`, | |
| [mq.large]: { | |
| fontSize: `6rem` | |
| }, | |
| } | |
| } | |
| <Component | |
| css={{ | |
| fontFamily: `Comic Sans`, | |
| ...tagStyles[tag] | |
| }} | |
| /> |
This file contains hidden or 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
| Improvements | |
| # TypeScript | |
| - Learn more of the syntax and concepts | |
| # React | |
| # Lambdas | |
| # Netlify Functions | |
| # Reactive State Management | |
| # State Management Concepts | |
| # Integration testing implementations | |
| # Concurrent Mode | |
| # MDX plugins | |
| - To help with DX and ~ship~ ~pages~ ~faster~ | |
| # CI/CD workflows | |
| - How to optimise them | |
| - How to give a friendly DX on PRs | |
| New | |
| # UI Library | |
| - Learn more about what makes a good component / UI library | |
| - Understand what works in which context | |
| # Babel plugins | |
| - Write a plugin to hoist inline objects or functions in a React component | |
| # Error tracking and handling | |
| - Improve User Experience with Error Boundaries | |
| - Track errors in a dashboard service | |
| # Datadog | |
| # urql | |
| # React Native | |
| # expo | |
| Avoiding | |
| # Vue | |
| # Angular | |
| # Redux | |
| # Svelte |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment