Skip to content

Instantly share code, notes, and snippets.

View LeoHeo's full-sized avatar

JinHan LeoHeo

View GitHub Profile
@LeoHeo
LeoHeo / Scala-Play-App-Docker-Deploy.md
Created October 23, 2017 13:56 — forked from wsargent/Scala-Play-App-Docker-Deploy.md
Deploying Scala Play Framework Applications on AWS Beanstalk using Docker containers
// Three mostly separate examples: Adding, reading/listening, and removing multiple items from firebase
// Firebase V3.0.0
// one school has many courses and many studens
// one course has many students and is in only one school
// one student is in many courses and only one school
const db = firebase.database().ref('test');
const userId = firebase.auth().currentUser.uid;
/* -- ADDING -- */
const update = React.addons.update;
/*---------------------------------
immutable.js 기본 사용법(삽입, 수정, 삭제)
React state에서 내부배열을 처리할때는
push는 직접적으로 배열을 건들기때문에 사용하면 안됨
해결방안