Skip to content

Instantly share code, notes, and snippets.

View donghoon-song's full-sized avatar
:octocat:

Donghoon Song donghoon-song

:octocat:
View GitHub Profile
@donghoon-song
donghoon-song / var-let-const.md
Created July 15, 2019 04:09 — forked from LeoHeo/var-let-const.md
javascript var, let, const 차이점

var, let, const 차이점은?

  • varfunction-scoped이고, let, constblock-scoped입니다.

  • function-scopedblock-scoped가 무슨말이냐?

var(function-scoped)

jsfiddle 참고주소

@donghoon-song
donghoon-song / google-drive.js
Created June 8, 2019 16:35 — forked from luyx2412/google-drive.js
React native login google, and google drive. Save storage and get again data when uninstall app.
/**
* Google Drive
* created by luyxtran264@gmail.com
*/
import React, { Component } from 'react';
import {
Platform,
StyleSheet,
Text,
@donghoon-song
donghoon-song / App.js
Created May 21, 2019 15:28
React styled-components v4 : removal of .extend => If you are using the .extend API, switch your components to use styled(StyledComponent) instead.
import styled, { createGlobalStyle } from "styled-components";
const Anchor = styled(Button.withComponent("a"))`
text-decoration: none;
`;
@donghoon-song
donghoon-song / App.js
Created May 21, 2019 15:17
Styled Components v4 : injectGlobal -> createGlobalStyle example
import { createGlobalStyle } from "styled-components"
const GlobalStyle = createGlobalStyle`
body {
padding: 0;
margin: 0;
}
`;
class App extends Component {