Skip to content

Instantly share code, notes, and snippets.

@Surijal
Surijal / README.md
Created December 13, 2019 10:09 — forked from ross-u/README.md
Redux lecture - Notes for the Students

Redux | Intro and Setup


What is Redux

@Surijal
Surijal / App.js
Created December 5, 2019 11:23 — forked from ross-u/App.js
// App.js
import React, { Component } from 'react';
import './App.css';
import Counter from './components/Counter'
class App extends Component {
@Surijal
Surijal / Clock.js
Created December 5, 2019 10:05 — forked from ross-u/App.js
React Lifecycle methods - I Mounting - constructor()
class Clock extends React.Component {
constructor(props) {
super(props);
this.state = {
year: props.year
};
console.log('IN CONSTRUCTOR');
};
@Surijal
Surijal / Clock.js
Created December 5, 2019 10:05 — forked from ross-u/App.js
React Lifecycle methods - I Mounting - constructor()
class Clock extends React.Component {
constructor(props) {
super(props);
this.state = {
year: props.year
};
console.log('IN CONSTRUCTOR');
};
@Surijal
Surijal / App.js
Created December 3, 2019 10:37 — forked from ross-u/App.js
React state - Questions and Exercise
// src/App.js
import React, { Component } from 'react';
import User from './components/User';
// App.js
class App extends Component {
state = {
userA: {
firstName: "Harper",
avatarUrl: "https://www.refreshmiami.com/wp-content/uploads/2018/07/55085_logo-ironhack.png"
@Surijal
Surijal / README.md
Created November 20, 2019 11:59 — forked from ross-u/README.md
Axios | POST, PATCH, PUT - Exercise

Axios


@Surijal
Surijal / README.md
Created November 15, 2019 13:27 — forked from ross-u/README.md
ExpressJS | GET & POST - Sending form data

ExpressJS | GET & POST


@Surijal
Surijal / README.md
Created October 24, 2019 12:44 — forked from ross-u/README.md
JS | Array methods - map() & forEach() exercise

JS | Array methods - map() & forEach()

Capitalize the Capitals - Exercise

For the following exercise you can use ES5 or ES6 syntax, whichever you feel more comfortable with at this point.

Go ahead to Repl.it , using the code below as your starting point.