"build": "parcel build index.html --public-url ./",
-> --public-url ./
안 붙였더니 빌드되고 난 이후 파일, 경로 안 맞아서 로드 안 되었음
"build": "parcel build index.html --public-url ./",
-> --public-url ./
안 붙였더니 빌드되고 난 이후 파일, 경로 안 맞아서 로드 안 되었음
// index.js
import {AppRegistry} from 'react-native';
import {name as appName} from './app.json';
import { createStackNavigator } from 'react-navigation'
import App from './App';
If you're using Babel 7's Beta, you'll need to install and use the Babel 7 version of the plugins too, e.g.
Uncaught ReferenceError: regeneratorRuntime is not defined
TypeError: this.setDynamic is not a function
.babelrc
설정{
[e.target.name]:e.target.value
[](braket notation)
은 있는지 없는지 체크하면서 쓸 때 사용하는 느낌이면 .(dot notation)
은 있는거 콕 찝을 때 쓰는 느낌?Property accessors provide access to an object's properties by using the dot notation or the bracket notation.
// property accestors MDN document에 있는 예제를 ES6 문법 사용하여 테스트해봄
const person = {}
person['firstname'] = 'Mario' // braket notation
X-Parse-Application-Id
, X-Parse-Master-Key
같이 보내줘야 함appId
, masterKey
말고<View style={styles.container}>
{this.state.fontLoaded ? (<Text style={styles.content}>Hello, world!</Text>) : null}
</View>
MonoText
컴포넌트를 만들어서 그걸 불러오는 방식으로 커스텀 폰트 사용함_
underscore 이해하는 중
_
사용하는거 종종 나오는데 무슨 의미인지 잘 모르겠다.