Created
June 30, 2017 17:33
-
-
Save kimniche/d8ba6c319e534b61a197df28de903c3e to your computer and use it in GitHub Desktop.
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
| /** | |
| CRA | |
| - comes with fetch | |
| - node-path | |
| -nmaes https://github.com/airbnb/javascript#naming--filename-matches-export | |
| * use core building blocks (<Button />, etc) | |
| * background: url(./niche-logo-stacked.svg); // Webpack finds al relative module refs and replaces them with final paths from compiled bundle | |
| * babel-present-env | |
| * breakpoint | |
| * you have to interpolate your variable if it comes right after the @media string. For instance: | |
| * style variables | |
| * http://192.168.0.165:3000/edit-profile/students | |
| Getting the data in componentDidMount might trip you up a bit here. | |
| If you navigate to a different route that only changes a parameter | |
| in the url (/news/123 -> /news/456) you will not get a new componentDidMount call. | |
| This is because react-router has already determined that the component is already mounted, and that the route is the same. | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment