본문 바로가기

개발/React, React Native

리액트 네이티브 유데미 강의 섹션9~




react-native init auth


npm install --save firebase





====


섹션11 redux



reducer: a function that returns(produce) some data


action: an object that tells the reducer how to change its data

ex. 'asdf'를 array로 바꿀 것.

(type: 'split')


state: application data. data for our app to use.


store: an object that holds the application's data.





Login 과정

User Types Sth 

-> Call Action Creator with new text 

-> Action Creator returns an action

-> Action sent to all reducers

-> Reducer calculates new app state

-> State sent to all components

-> Components render with new

-> Wait for new change ->


'개발 > React, React Native' 카테고리의 다른 글

color-blend-mode  (0) 2017.04.11
full size image background 효과  (0) 2017.04.11
storage관련  (0) 2017.04.11
image picker  (0) 2017.04.10
리액트 네이티브 유데미 강의 섹션1~8  (0) 2017.03.16