React e suas tecnologias na prática
WHO AM I ?
Renan Oliveira
Fractal Tecnologia
Front-end developer
renanrboliveira
React
● A JavaScript library for building user
interfaces
● Created Facebook / Release Open-
sourced March 2013
● Component-Based
● Declarative
● MIT
React
● Virtual-DOM
● JSX
● Presentational and Containers
Components
● Smart and Dumb Components
● React 16 / Fiber
Redux
● Redux is a predictable state container for
JavaScript apps.
● Management State
● Three Principles
○ Single source of truth (Store)
○ State is read-only (Actions)
○ Changes are made with pure functions
(Reducers)
Redux-Thunk
● middleware for Redux
● Asynchronous
● Allows write action creators that return a
function instead of an action
● The inner function receives the store
methods dispatch and getState as
parameters
React-router
● Created React Training
● React Router is a collection of
navigational components that
compose declaratively with your
application
● Browser history
Design
● Ant.design
● Bulma
● SASS
Jest
● Testing framework
● Created Facebook
● Automatically finds tests
● Automatically mocks
dependencies
● Runs your tests with a fake
DOM implementation
● Runs tests in parallel
Enzyme
● JavaScript Testing utility for
React
● Makes it easier to assert,
manipulate, and traverse in
components
Environment
● VS Code
● Babel/ES6, ES7
● Webpack 2
● ESlint
● Yarn
● Git (Gitlab)
● Deploy CI (Gitlab), AWS
(S3/Cloudfront)
WHO IS USING
● Facebook / Instagram / Whatsapp
(Web)
● Udemy
● Submarino / Americanas / Sky
● Globo.com
● Ifood
● OLX
● Jira
THANK YOU!

React e suas tecnologias na prática

  • 1.
    React e suastecnologias na prática
  • 2.
    WHO AM I? Renan Oliveira Fractal Tecnologia Front-end developer renanrboliveira
  • 3.
    React ● A JavaScriptlibrary for building user interfaces ● Created Facebook / Release Open- sourced March 2013 ● Component-Based ● Declarative ● MIT
  • 4.
    React ● Virtual-DOM ● JSX ●Presentational and Containers Components ● Smart and Dumb Components ● React 16 / Fiber
  • 5.
    Redux ● Redux isa predictable state container for JavaScript apps. ● Management State ● Three Principles ○ Single source of truth (Store) ○ State is read-only (Actions) ○ Changes are made with pure functions (Reducers)
  • 6.
    Redux-Thunk ● middleware forRedux ● Asynchronous ● Allows write action creators that return a function instead of an action ● The inner function receives the store methods dispatch and getState as parameters
  • 7.
    React-router ● Created ReactTraining ● React Router is a collection of navigational components that compose declaratively with your application ● Browser history
  • 8.
  • 9.
    Jest ● Testing framework ●Created Facebook ● Automatically finds tests ● Automatically mocks dependencies ● Runs your tests with a fake DOM implementation ● Runs tests in parallel
  • 10.
    Enzyme ● JavaScript Testingutility for React ● Makes it easier to assert, manipulate, and traverse in components
  • 11.
    Environment ● VS Code ●Babel/ES6, ES7 ● Webpack 2 ● ESlint ● Yarn ● Git (Gitlab) ● Deploy CI (Gitlab), AWS (S3/Cloudfront)
  • 13.
    WHO IS USING ●Facebook / Instagram / Whatsapp (Web) ● Udemy ● Submarino / Americanas / Sky ● Globo.com ● Ifood ● OLX ● Jira
  • 14.