In tmux, hit the prefix ctrl+b
(my modified prefix is ctrl+a) and then:
INGAT
CRTL + B
DULU YAK, sebelum perintah selanjutnya
{ | |
"extends": [ | |
"plugin:react/recommended", | |
"plugin:jest/recommended" | |
], | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"node": true, |
In tmux, hit the prefix ctrl+b
(my modified prefix is ctrl+a) and then:
INGAT
CRTL + B
DULU YAK, sebelum perintah selanjutnya
<?xml version="1.0"?> | |
<ruleset name="Laravel Standards"> | |
<!-- | |
The name attribute of the ruleset tag is displayed | |
when running PHP_CodeSniffer with the -v command line | |
argument. The description tag below is not displayed anywhere | |
except in this file, so it can contain information for | |
developers who may change this file in the future. | |
--> |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Create an empty git repo or reinitialize an existing one
$ git init
set nocompatible " be iMproved, required | |
filetype off " required | |
set exrc | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" ==== PLUGINS ==== | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'vim-scripts/L9' |
// Sublime Text - Build System for Javascript | |
{ | |
"cmd": ["node", "$file"], | |
"selector": "source.js" | |
} |
All libraries have subtle rules that you have to follow for them to work well. Often these are implied and undocumented rules that you have to learn as you go. This is an attempt to document the rules of React renders. Ideally a type system could enforce it.
A number of methods in React are assumed to be "pure".
On classes that's the constructor, getDerivedStateFromProps, shouldComponentUpdate and render.