쉐도잉 연습: 10 Essential React Native Tips Every Developer Must Know - 영상으로 영어 말하기 배우기

연습 모드 선택

각 모드는 전체 화면 연습실로 열립니다.

184 문장
문장이 너무 짧거나 길면 Edit를 눌러 조정하세요.
1
You might have worked with React Native for quite some time, but do you really know all the ins and outs?
2
There are some really small nuggets of wisdom in the React Native docs
3
or from the day -to -day use that I want to share with you,
4
so here are 10 practical tips that you can use in your next
5
React Native project.
6
The first one is a real quick one about lists and something I shared before.
7
If you have an input here and you want to hide that keyboard, there's a simple thing that you can add to your list.
8
So I'm using a flat list here and you can now simply go ahead
9
and add the keyboard dismiss mode and set it to on drag.
10
As a result, I can drag the list and it will automatically close the hardware keyboard whenever I do the drag.
11
Additionally, by the way, you can also quickly make this a really cool animated list.
12
So I can add and remove things.
13
But let's just change this to an animated flat list from React Native Reanimated.
14
And then let's add the item layout animation and let's import the linear transition.
15
So now I should be able to have a smooth transition whenever I remove items
16
or add items with just two little changes to an animated flatlist
17
and the item layout animation and I can also on swipe close my keyboard.
18
The second tip is about the pressable component.
19
In most of my tutorials you're gonna see me use the touchable opacity which works great as a button replacement.
20
However if you are looking for a more extensive
21
and future -proof way to handle touch base input check out the pressable API
22
and if you go into the pressable you see
23
that there's a lot more fine -tuning
24
you can do like on press in on press out where
25
you can change the state of your components let's do a quick example i will just change these items
26
which are currently touchable opacity uh item to oppressable
27
and instead of just using styles item i can actually now use a function where i use the pressed state
28
and use that to set either the opacity
29
or for example the background color
30
and you can even use
31
this press state inside the child values here where I currently have the text of the pressable component.
32
As a result, I can now fine -tune exactly how the click event on
33
that button and how especially the press event works instead of just using a touchable opacity.
34
Tip number three is about dark modes and the appearance of our application.
35
Did you know that you can simply wrap your application using the theme provider from React Navigation
36
and then include the default theme
37
and the dark theme to automatically style the elements from react navigation
38
so in this case you're gonna see
39
that both the status bar uh the top area up here
40
and even the background here
41
because it's using the default background color are changing once i switch the colors here in the simulator this works
42
because we use the use color theme use color theme hook from react native
43
which then updates the color theme to either light or dark
44
and this is applied here in our check wrapped around our application.
45
You can then also drill this down on component level.
46
So whenever you want, you can simply import the color theme
47
and use it as a state to set different styles on your elements.
48
And if you manually want to toggle this, you can use the appearance API and the set color theme to manually save this.
49
This works nice in combination with something like async storage or MMKV.
50
So you can then manually on click toggle this.
51
However, in the simulator, this usually fails especially when I don't hit save
52
so now it should work and I can instantly and easily switch between light and dark mode in my app.
53
Tip number four is once again about colors this time it's about using platform
54
and the platform color API in the application
55
so here's a view with three different buttons and
56
if I go to
57
that same view on my Android emulator you're gonna see for some reason they look different
58
and the reason is
59
that you can use both platform select to switch between different platforms
60
you can actually not only have oh come on please stay open come on stay open
61
you can not only ah this is not possible not only switch between ios
62
and android but also windows mac os web or native
63
and then you can supply specific colors in your style sheet
64
and you can not only have fixed colors
65
but you can also see the platform color here
66
this is a bit more complicated to use especially figuring out the values for Android is somewhat hard
67
you have to get into the Android documentation but
68
if you're interested in this you can actually use the system colors of both iOS
69
and Android if you want a complete
70
and even more native feeling in your application tip 5 is about fonts
71
and especially Google fonts did you know that there's an expo package
72
that you can use that you can simply install
73
and then use all the fonts of google let's check
74
it out i've added the package for the frank rule libra uh font to my application to the layout
75
and i also use the use fonts hook to safely in
76
the beginning of my application load all the custom fonts
77
that i want to use i would usually use and use effect
78
and make sure fonts loaded is ready
79
but nonetheless i can now use them on my page inside of the font family
80
and as a result we see here the bold
81
and the medium one being applied
82
it has never been easier to use google fonts in your
83
react native application than this trust me tip number six is about images
84
when you use the image component
85
and you're loading something over the network for example a really big image like this it can sometimes take time
86
so if i go here it takes a millisecond
87
and there are sometimes images
88
that are even bigger now what you can do is you can actually specify a default source
89
and within that default source you basically set the image
90
that should be deployed a deployed should be displayed
91
while the first image is loading so
92
if I had it like this now I could go into the component
93
and you quickly saw that react native image
94
so I just used my local image because
95
that one should be instantly available you could also have like a simple loader in there as the default source
96
that would work as well and then you can use any kind of big image
97
and while it's loading just by default you display your default source in the image element.
98
Tip number seven is about the text element.
99
If you have a very long text in your application, there are different ways to improve this.
100
So the first way, if you're rendering really long text, is of course have this in a scroll view.
101
But sometimes you also want to limit the number of lines.
102
So you can do number of lines on the text element.
103
Let's set this to five.
104
And this will automatically render only five lines.
105
And at the end, you're going to have three dots.
106
So you don't need any logic if text length is bigger than 120, then render three dots or something.
107
No, you can just set the number of lines.
108
However, if you at the same time also want to still show all the things of your text, because now the text of girls truncated,
109
you could add a property called adjust font size to fit.
110
As a result, this looks quite interesting because in our example, well, eight lines is probably not enough.
111
But now we would be able to actually fit all of this in 20 lines of text
112
Remember this was our initial state
113
and now we would be able to render all of that using adjust font size to fit which will simply
114
Specify whether fun should be scaled down automatically to fit given style constraints
115
This is not always helpful, but it can be a nice fix in some of your applications
116
Tip number eight is about warnings in your application
117
So I recently came across a warning that was well not too interesting to me
118
Let's say you got this one
119
Which of course doesn't come up when I want to show it so encounter two children with the same name
120
Of course, that is something you definitely want to fix
121
However, sometimes there are things that you just want to ignore because they keep appearing
122
Especially if you maybe do a presentation for your customer what you can do is you can simply import lockbox
123
From react native we don't need these fences.
124
That looks interesting and now i could go ahead
125
and use lockbox uh and i got two um
126
or different ways i could ignore all locks
127
or i could ignore specific locks
128
so in my case what i want to ignore is probably encountered uh two children with the same key
129
i can now hit save and let's do a reload again
130
and i go into and boom no more locks
131
and of course the same would work
132
if i would use uh logbox .ignorealllocks that's probably a bit more dangerous uh
133
because it would hide anything that pops up in your application
134
so anyway treat this carefully but if you want some mind space some quiet applications
135
and nothing that pops up
136
while you work on your application simply use logbox to control the logs that appear in your react native app.
137
Tip number nine is about API usage and I was kinda shocked when I saw it.
138
So I was using a local API on localhost port 8080
139
and we see I have a simple block here where I fetch my data from API URL slash test
140
and it worked perfectly fine on iOS.
141
However on Android I get an error fetching data.
142
Why is that the case?
143
Well it turns out that localhost doesn't work on the Android emulator.
144
You gonna have a bad day.
145
What you can do as a result is you can add this little block at the top,
146
which is kinda ugly, but if you put all of your API calls, usually in one or two files,
147
into our custom hooks, that should be easy to treat.
148
So in my case, I grab the environment using the node environment to make sure we're actually running in development.
149
And if we're running in development and the platform is Android, I exchange and patch my API URL, which i usually got from my process environment
150
so instead of using localhost port 8080 i'm now using 10 .0 .2 .2 8080 let's hit save
151
and let's check out my emulator again so
152
if i now go into page 9 voila we have fixed this
153
and we can make api calls to localhost on both ios and android
154
Just as a quick addition to this, because this might be an ugly hack, here's something else that is recommended.
155
So you can also map your port using ADB or down here for ADB devices, you can map the port specifically for your emulator.
156
That's probably a tiny bit better than having additional code.
157
But if you just want to do a quick test, this one will get the job done.
158
Tip number 10 is for all of you who want to build a production application of your React Native application using Expo.
159
So usually you're gonna see you have your own custom defcline even if you do a pre -build
160
It only works when your live reload is up and running
161
But sometimes you just want to have the app installed and leave the room and show it to someone else
162
What you can do to build this kind of standalone application is once
163
you have created your pre -build with Expo Go into Xcode go up here hit edit scheme and under run configuration
164
Here for the build configuration you want to select release
165
Go ahead with that, build the application for your device and there's no more connection to a local server.
166
Additionally you can of course do the same for Android, so open your project up with Android Studio
167
and then at the bottom left you're gonna really small find something called build variants.
168
Inside of build variants you see that everything here is set to debug.
169
And of course for our app I can now change this to release, it would change all of these to release
170
and then I can go up here
171
and deploy the app to either my simulator
172
or of course any kind of connected android device all right
173
that brings us to the end of this quick video
174
I hope you enjoyed this quick run through of 10 different things
175
that I picked up over the years I took note of them
176
I probably will do another video once I reach more than five
177
or ten nodes again in the future
178
but let me know in the comments what is something that you figured out after years of using
179
React Native or you were like, why didn't I know that earlier?
180
Leave a comment down below.
181
And of course, also, if you enjoyed that build process step that I showed you last,
182
here's a video about all the ways how you can build your application with Expo, including pre -builds, EAS, and everything you need to know.
183
Don't forget to hit the like and subscribe button and I will catch you in the next one.
184
So until then, happy coding, Simon.

앱 다운로드

유창하게 말하는 데 필요한 모든 것

AI 발음 평가문장마다 점수 확인
IPA 발음 연습모든 소리 마스터
단어 학습나만의 단어장 만들기
단어 게임놀면서 외우기

같은 채널

FOR YOU

추천 영상

이 레슨의 어휘와 말하기 포인트

이 말하기 레슨은 영상 “10 Essential React Native Tips Every Developer Must Know”을(를) 바탕으로 합니다. 가장 자주 반복되는 단어는 다음과 같습니다: application, color, react, native, android. 이 영상에는 섀도잉할 문장 184개와 단어 2332개가 있습니다. 말하는 구간의 길이는 12:00입니다. 화자는 분당 약 194단어로 빠르게 말하므로 연음과 약하게 발음되는 소리가 많습니다. 단어의 84%가 영어에서 가장 많이 쓰이는 3,000단어에 속합니다. 나머지는 연습 전에 미리 확인해 두세요.

이 영상의 핵심 어휘

영상에 나오는 익혀 둘 만한 단어 15개를 발음, 뜻과 함께 정리했습니다.

단어발음뜻
react 동사/ɹiːˈækt/반응하다
android 명사/ˈænˌdɹɔɪd/안드로이드, 로봇
font 명사/fɑnt/자체, 글꼴
default 명사/dɪˈfɔlt/디폴트
component 명사/kəmˈpoʊ.nənt/부분
element 명사/ˈɛləmənt/요소
ignore 동사/ɪɡˈnɔː/무시하다
keyboard 명사/ˈki.bɔɹd/자판, 키보드
render 동사/ˈɹɛn.dɚ/일어나게 하다, 하게하다
custom 명사/ˈkʌstəm/습관, 풍속
dragon 명사/ˈdɹæɡən/용, 룡
hook 명사/hʊk/갈고리
import 명사/ˈɪm.pɔɹt/수입품
deploy 동사/dɪˈplɔɪ/배치하다
package 명사/ˈpæk.ɪd͡ʒ/짐, 꾸러미

영상에 나오는 구동사

단어뜻
go up 동사올라가다
come up 동사올라오다

이 영상의 문법

화자가 가장 많이 쓰는 문형을 영상 속 실제 표현과 함께 정리했습니다.

문형영상 속 표현
수동태 be + 과거분사 — 누가 하는지보다 무슨 일이 일어나는지에 초점is applied · being applied · should be deployed
현재완료 have/has + 과거분사 — 과거의 일이 지금도 관련이 있을 때have fixed · i've added · has never been

주의할 발음

화자는 you're, gonna, don't 같은 축약형과 약화된 형태를 29번 사용합니다. 들리는 대로 짧게 발음하세요.

  • “th” 소리: smooth /smuːð/, nonetheless /ˌnʌnðəˈlɛs/
  • “sh”와 “zh” 소리: transition /tɹænˈzɪʃ.ən/, animation /ˌæn.ɪˈmeɪ.ʃən/, navigation /nævɪˈɡeɪʃən/, configuration /kənˌfɪɡ.əˈɹeɪ̯.ʃən/, shock /ʃɔk/
  • 긴 단어 — 강세 위치에 주의: manually /ˈmænj(u)əliː/, simulator /ˈsɪmjəˌleɪtɚ/, animation /ˌæn.ɪˈmeɪ.ʃən/, navigation /nævɪˈɡeɪʃən/, configuration /kənˌfɪɡ.əˈɹeɪ̯.ʃən/

한국어 화자가 어려워하는 소리:

  • /f/ — ㅍ(/p/)으로 바꾸지 말고 윗니를 아랫입술에 대기: font /fɑnt/, default /dɪˈfɔlt/, configuration /kənˌfɪɡ.əˈɹeɪ̯.ʃən/, specify /ˈspɛs.əˌfaɪ/, fetch /fɛt͡ʃ/
  • /v/ — ㅂ(/b/)과 구별하기: navigation /nævɪˈɡeɪʃən/, variant /ˈvæɹi.ənt/, server /ˈsɝvɚ/, provider /pɹəˈvaɪ.də(ɹ)/, voilà /(v)wɑˈlɑ/
  • /z/ — ㅈ이 아니라 성대를 울리는 /s/: transition /tɹænˈzɪʃ.ən/, presentation /ˌpɹɛzn̩ˈteɪʃn̩/, wisdom /ˈwɪzdəm/

이 영상으로 연습하는 방법

  1. 먼저 말하지 않고 영상을 끝까지 듣고 모르는 단어를 적어 둡니다.
  2. 0.75배속으로 한 문장씩 섀도잉을 시작하고, 익숙해지면 보통 속도로 돌아갑니다.
  3. 자신의 목소리를 녹음해 원본과 비교하고, react, android, font 같은 단어에 특히 주의합니다.

쉐도잉이란? 영어 실력을 빠르게 키우는 과학적 방법

쉐도잉(Shadowing)은 원래 전문 통역사 훈련을 위해 개발된 언어 학습 기법으로, 다언어 학자인 Dr. Alexander Arguelles에 의해 대중화된 방법입니다. 핵심 원리는 간단하지만 매우 강력합니다: 원어민의 영어를 들으면서 1~2초의 짧은 지연으로 즉시 소리 내어 따라 말하는 것——마치 '그림자(shadow)'처럼 화자를 따라가는 것입니다. 문법 공부나 수동적인 청취와 달리, 쉐도잉은 뇌와 입 근육이 동시에 실시간으로 영어를 처리하고 재현하도록 훈련합니다. 연구에 따르면 이 방법은 발음 정확도, 억양, 리듬, 연음, 청취력, 말하기 유창성을 크게 향상시킵니다. IELTS 스피킹 준비와 자연스러운 영어 소통을 원하는 분들에게 특히 효과적입니다.

섀도잉 방법: 단계별 전체 가이드 읽기 →