Skip to content

Instantly share code, notes, and snippets.

View learning-zone's full-sized avatar
🎯
Happy Learning !

Pradeep Kumar learning-zone

🎯
Happy Learning !
  • India
View GitHub Profile
@learning-zone
learning-zone / README.md
Created October 14, 2019 06:10 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


React lifecycle cheatsheet

Method Side effects1 State updates2 Example uses
Mounting
componentWillMount Constructor equivalent for createClass
render Create and return element(s)
componentDidMount DOM manipulations, network requests, etc.
Updating
componentWillReceiveProps Update state based on changed props
@learning-zone
learning-zone / react-cheatsheet.md
Created July 26, 2020 09:52 — forked from delibytes/react-cheatsheet.md
React & JSX Cheatsheet

React & JSX Cheatsheet

Overview
JSX HTML <div>...</div>
JSX Component <Component property={javascript} />
<Component property='string' />
JSX Component with Children <Component>{children}</Component>
reference: props.children
Escaping JavaScript {...}
require statements const React = require('react');
const ReactDOM = require('react-dom');
npm modules react, react-dom

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database