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
| ## Delete a remote branch | |
| $ git push origin --delete <branch> # Git version 1.7.0 or newer | |
| $ git push origin :<branch> # Git versions older than 1.7.0 | |
| ## Delete a local branch | |
| $ git branch --delete <branch> | |
| $ git branch -d <branch> # Shorter version | |
| $ git branch -D <branch> # Force delete un-merged branches | |
| ## Delete a local remote-tracking branch |
Glog issue
Running into the same issue here after upgrading from 0.44. None of the above solutions or clearing caches did the trick for me. Here's what I did to get things working again:
In the Terminal, navigate to the react-native/third-party/glog folder inside node_modules (for me, this was cd node_modules/react-native/third-party/glog-0.3.4)
Once actively in this folder, run ../../scripts/ios-configure-glog.sh
Glog is configured and the required config.h header file is created for Xcode to find
npm install === yarn
Install is the default behavior.
npm install taco --save === yarn add taco
The Taco package is saved to your package.jsonimmediately.
npm uninstall taco --save === yarn remove taco
- https://jrsinclair.com/articles/2016/gentle-introduction-to-javascript-tdd-intro/
- JavaScript Unit Testing by mpj https://www.youtube.com/watch?v=Eu35xM76kKY&list=PL0zVEGEvSaeF_zoW9o66wa_UCNE3a7BEr
- https://github.com/dwyl/learn-tdd
- https://javascript.info/testing-mocha
- https://github.com/mawrkus/js-unit-testing-guide
- https://www.sitepoint.com/unit-test-javascript-mocha-chai/
- Mocha crash course by Brad Traversy https://www.youtube.com/watch?v=MLTRHc5dk6s
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
| #gradient-1{ | |
| background: rgb(255,174,39); /* Old browsers */ | |
| background: -moz-linear-gradient(-45deg, rgba(255,174,39,1) 0%, rgba(222,73,109,1) 100%); /* FF3.6+ */ | |
| background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(255,174,39,1)), color-stop(100%,rgba(222,73,109,1))); /* Chrome,Safari4+ */ | |
| background: -webkit-linear-gradient(-45deg, rgba(255,174,39,1) 0%,rgba(222,73,109,1) 100%); /* Chrome10+,Safari5.1+ */ | |
| background: -o-linear-gradient(-45deg, rgba(255,174,39,1) 0%,rgba(222,73,109,1) 100%); /* Opera 11.10+ */ | |
| background: -ms-linear-gradient(-45deg, rgba(255,174,39,1) 0%,rgba(222,73,109,1) 100%); /* IE10+ */ | |
| background: linear-gradient(135deg, rgba(255,174,39,1) 0%,rgba(222,73,109,1) 100%); /* W3C */ | |
| filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffae27', endColorstr='#de496d',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ | |
| } |
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
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| counter: 0, | |
| actions:{ | |
| increament(){ | |
| this.set('counter', this.get('counter') + 1) | |
| }, | |
| decreament(){ |
Don’t put quotes around curly braces when embedding a JavaScript expression in an attribute. You should either use quotes (for string values) or curly braces (for expressions), but not both in the same attribute.
In practice, most React apps only call ReactDOM.render() once. PropTypes validation is ignored in production build of React.js
React.js
- Official documentation - https://reactjs.org/docs/hello-world.html
- React.js course by Kent C. Dodds - https://egghead.io/courses/the-beginner-s-guide-to-reactjs
- React Holiday - https://react.holiday/
- React Englightment - https://www.reactenlightenment.com/
- Learn React by Michael Chan - https://learnreact.com/
- 30 days of React - https://www.fullstackreact.com/30-days-of-react/
- The road to learn React - https://www.robinwieruch.de/the-road-to-learn-react/
- React Patterns - https://reactpatterns.com/
- React bits - https://github.com/vasanthk/react-bits