Skip to content

Instantly share code, notes, and snippets.

View gladiatorAsh's full-sized avatar
🎯
Focusing

Ashutosh Singh gladiatorAsh

🎯
Focusing
View GitHub Profile
@gladiatorAsh
gladiatorAsh / react-reusable-component.md
Created November 21, 2018 22:58 — forked from ericelliott/react-reusable-component.md
React - Complete Reusable Component

React Reusable Component Factory

'use strict';

const ENTER_KEY = 13;

const emailFactory = function ({
  React,
  setEmail,
@gladiatorAsh
gladiatorAsh / notes.md
Created November 21, 2018 22:58 — forked from LeZuse/notes.md
React.js internals

React.js

React

  • Element is a simple key,ref,props enclosure
  • Gets generated on every react batch strategy pass
  • It is "owned” by ReactCompositeComponent
  • JSX translates tags into ReactElement.createElement ftion calls

ReactCompositeComponent

  • React component (class)
@gladiatorAsh
gladiatorAsh / Extensions.md
Last active March 8, 2019 07:25 — forked from testgithubd/Extensions.md
Extensions for VS Code

Extensions I use

  1. Auto Import
  2. Beautify
  3. Better Comments
  4. Bracket Pair Colorizer
  5. C#
  6. CodeMetrics
  7. Debugger for Chrome
  8. ESLint
  9. Format Files