This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is using Semantic-UI-React for a grid system but the rendering can be handled however you want. | |
import { getStorybook, storiesOf } from '@kadira/storybook' | |
import { Grid, Header } from 'semantic-ui-react' | |
// Avoid infinite loop | |
const KITCHEN_SINK_TITLE = 'Kitchen Sink' | |
const renderStory = (story) => ( | |
<Grid.Row key={story.name} style={{ marginBottom: '1rem' }}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Use Non-ASCII Font" : false, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Red Component" : 0.51372549019607838, | |
"Color Space" : "sRGB", | |
"Blue Component" : 0.58823529411764708, | |
"Green Component" : 0.58039215686274515 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"num":1,"sayHiInChildren":"_NuFrRa_child => console.log(\"hi~~~~~~~~~ - from \".concat(child))"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import JSONfn from 'json-fn' | |
import isEqual from 'react-fast-compare' | |
export const areEqual = (prevProps, nextProps) => { | |
const [prev, next] = [prevProps, nextProps].map(JSONfn.stringify) | |
return isEqual(prev, next) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react'; | |
const Child1 = () => { | |
console.log('Child1 rendered') | |
return <div style = {{border: '1px solid red', padding: '30px'}}> | |
Child1 | |
</div> | |
} | |
const Child2 = () => { | |
console.log('Child2 rendered') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf8 -*- | |
""" | |
# 주요기능 : 직방 매물 정보 크롤링 | |
# 상세기능 : 원하는 지역의 매물ID 를 가진 URL 을 입력받아 각 매물별 상세 정보를 csv 파일 및 jpg 파일로 저장 | |
# 추가계획 : 현재 계획 없음 | |
# 최종수정 : 2016.10.10 | |
""" |
NewerOlder