Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Donghoon Song Donghoon759

:octocat:
View GitHub Profile
@Donghoon759
Donghoon759 / var-let-const.md
Created Jul 15, 2019 — forked from LeoHeo/var-let-const.md
javascript var, let, const 차이점
View var-let-const.md

var, let, const 차이점은?

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

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

var(function-scoped)

jsfiddle 참고주소

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