issues
search
ropering
/
Study
0
stars
0
forks
source link
[TIL] 22.04.20
#35
Open
ropering
opened
2 years ago
ropering
commented
2 years ago
๐ React Native
๐ก Learned
App Intro๋
์ฝํ๋ก ํ์
ํด ํ์ ์ด์ฉํด์ ์ดํ์ ์ค๋ช ํ์
Skip ๋ฒํผ์ ํญ์ ํ์ํ์
๋ก๊ทธ์ธ ํ ํญ ํด๋ฆญ์ค null ์ค๋ฅ ๋ฐ์ Issue
์ฑ ์คํ ์ Navigator์ ์๋ ๊ฒ๋ค์ ํ๋ฒ ์คํ ํ๋ฉด์ Firebase.js๋ฅผ ์คํํ๋ค. ๊ทธ ํ์๋ ์คํํ์ง ์๋๋ค.
์ฆ, ์ฒ์ ๋น ๋ก๊ทธ์ธ ์ํ์์ Firebase์ ์ ๊ทผํ๊ธฐ ๋๋ฌธ์, ๋ก๊ทธ์ธ ํ ๋ค์ import ํ์ง ์๊ธฐ ๋๋ฌธ์ ๊ณ์ null์ธ ๊ฒ์ด๋ค
๋ก๊ทธ์ธ ํ์๋ ๋ค์ import ํ ์ ์๋ ๋ฐฉ๋ฒ์ ์์์ผ ํ๋ค.
์ํ๋ฅผ ๋ก์ปฌ์ ์ ์ฅํ๋ ๋ฐฉ๋ฒ
์ํ๊ฐ ๊ฐ์ ธ์ค๋ ๊ตฌ๋ฌธ์ ๋ชจ๋ํ ๋์ ๋ฐ์ผ๋ก ๋นผ๋ด๋ ๋ฐฉ๋ฒ
์๋์์ฑ
usestate - useState ๊ตฌ๋ฌธ ์๋ ์์ฑ
rnf - ์๋์ผ๋ก ๊ธฐ๋ณธ ๊ตฌ๋ฌธ๋ค์ ๋ง๋ค์ด์ค๋ค (html์ html๊ณผ ๋น์ท)
TIKTOK Clone React Native Tutorial 2021
redux๋ฅผ ์ฌ์ฉํด์ผ ํ๋ ์ด์
ํน์ ํ์ด์ง์ ๊ฐ์ ๋๊ฒจ์ค์ผ ํ ๋, ์ํ ๊ฐ์ props๋ฅผ ํตํด ๊ณ์ ๋๊ฒจ์ค์ผ ํ๋ ๋จ์ ์ ๋ฐฉ์งํ ์ ์๋ค
์์์ ๋ณด๋๊ฒ ํ๋ฆ์ ํ์ ํ ์ ์๊ณ , ํ์ ๋ฐฐ์ธ ์ ์์ด์ ์ข๋ค
๐ React Native
๐ก Learned