Skip to content

Instantly share code, notes, and snippets.

View nimaparsi's full-sized avatar
🏠
Working from home

Nima Parsi nimaparsi

🏠
Working from home
  • Furthermore - Hall & Partners
  • London
  • 11:52 (UTC +01:00)
View GitHub Profile
git remote -v
git remote set-url origin
git remote set-url origin <username>git@bitbucket.org:organization/wordpress.git
git remote set-url origin username@bitbucket.org:organization/wordpress.git
ssh-keygen -f ~/.ssh/username
ssh-add ~/.ssh/username
pbcopy < ~/.ssh/username.pub
/* http://jsbin.com/tipixiy/edit?js,output */
/**
* Seems to be in line with this
* http://stackoverflow.com/questions/24147331/react-the-right-way-to-pass-form-element-state-to-sibling-parent-elements
* Now I have the state in parent and child. Is that good or bad? Why would I need it in child?
* Could probably take that out
* Another Example http://jsbin.com/pidipad/edit?js,output
* */
class Parent extends React.Component {