Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Do Javascript ao React: aprendendo e se adaptan...
Search
Juliana Negreiros
October 08, 2018
Technology
36
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Do Javascript ao React: aprendendo e se adaptando a mudanças aula 1 | From Javascript to React: learning and adapting to change lesson 1
- Semana da Tecnologia de 2018 na FATEC Sorocaba (08/10/2018): workshop de 2 dias
Juliana Negreiros
October 08, 2018
More Decks by Juliana Negreiros
See All by Juliana Negreiros
Um guia para começar no mundo Front End
juunegreiros
0
340
Desmistificando a área de TI
juunegreiros
0
89
Como otimizar seu site com lighthouse e core web vitals
juunegreiros
0
440
Introdução ao Git
juunegreiros
0
65
Webpacker e a Jornada do Heroi
juunegreiros
0
37
Como modularizar seu front-end sem depender de um framework
juunegreiros
0
93
Sopa de Letrinhas CSS | Alphabet soup CSS
juunegreiros
1
84
Pensando logicamente: introdução à lógica de programação | Thinking logically: introduction to programming logic
juunegreiros
0
69
Carreiras em TI
juunegreiros
0
62
Other Decks in Technology
See All in Technology
Snowflakeと仲良くなる第一歩
coco_se
2
190
Diagnosing performance problems without the guesswork
elenatanasoiu
0
170
「気づいたら仕事が終わっている」バクラクAIエージェント本番運用の裏側 / layerx-bakuraku-aie2026
yuya4
19
11k
トークン数だけでは測れない — Claude Code 組織展開の効果検証から学んだこと
makikub
0
140
noUncheckedIndexedAccess、3時間、1万円。 / noUncheckedIndexedAccess, 3 Hours, 10,000 JPY.
kaonavi
1
340
生成 AI × MCP で切り拓く次世代 SRE!自律型運用への挑戦と開発者体験の進化
_awache
0
170
いまさら聞けない人のためのAIコーディング入門
devops_vtj
0
130
[モダンアプリ勉強会]今更聞けないGit/GitHub入門
tsukuboshi
0
300
AI フレンドリーなエラー監視を TypeScript で実現する
shinyaigeek
2
270
OCI Oracle AI Database Services新機能アップデート(2026/03-2026/05)
oracle4engineer
PRO
0
300
サプライチェーンセキュリティの空白地帯 - 信頼できる”依存性”の未来を考える
rung
PRO
2
790
ITエンジニアを取り巻く環境とキャリアパス / A career path for Japanese IT engineers
takatama
4
1.8k
Featured
See All Featured
Marketing to machines
jonoalderson
1
5.4k
Chasing Engaging Ingredients in Design
codingconduct
0
210
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
160
Site-Speed That Sticks
csswizardry
13
1.2k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
The agentic SEO stack - context over prompts
schlessera
0
800
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
250
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
200
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Transcript
Do Javascript ao React Aprendendo e se adaptando à mudanças
Juliana Negreiros
Guilherme Caçador Monteiro
Objetivos e porquês
Antes de começar
bit.ly/movies-react-worksho p
developers.themoviedb.org/3
Sobre APIs
codesanbox.io
Iniciando uma linda amizade com o debugger
None
Precisamos falar sobre Javascript
ECMAscript 6 ou ECMAscript 2015
Conversão automática de tipos
1 == '1' 3 > 2 > 1
1 == '1' 3 > 2 > 1
Declaração de variáveis
const let var
const a = {name: 'Ju'} const b = a const
c = {name: 'Ju'}
a == b a == c a.name = 'Gui' a
== b a = 'name'
let d = 'ju' d = 'gui' let d =
'outro nome'
Atributos
const dados = {} dados.nome = 'ju' dados['filme preferido'] =
'Braveheart' dados[1] = 2
Assíncrono
Promises
None
None
Programação Funcional
Declarativo x Imperativo
const nomes = ['ju', 'gui']
for(let i = 0; i < nomes.length; i++) { console.log(nomes[i]);
}
nomes.forEach(nome => console.log(nome))
High Order Functions
function multiplica(n1){ return n2 => n1 * n2 } const
dobro = multiplica(2) console.log(dobro(8))
Filter, map, reduce e forEach
forEach(element, index) const numeros = [1, 2, 3, 4, 5,
6] const print = numeros => numeros.forEach(numero => console.log(numero)) print(numeros)
map(element, index, array) const numeros = [1, 2, 3, 4,
5, 6] const dobros = numeros.map(numero => numero * 2)
filter(element, index, array) const numeros = [1, 2, 3, 4,
5, 6] const pares = numeros.filter(numero => numero % 2 === 0)
reduce(prevVal, elemento, index, array, initVal) const numeros = [1, 2,
3, 4, 5, 6] const total = numeros.reduce((prev, numero) => prev + numero, 0)
DOM
41b0dacac11ce51d0d8085 035a3a5e73bi
https://codesandbox.io /s/lpq882ljkl
None
None