Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ReactJS: From upside down to right side up!

Pedro Nauck
November 26, 2016

ReactJS: From upside down to right side up!

My talk about how to build a right side up environment in the frontend using the React ecosystem.

Pedro Nauck

November 26, 2016
Tweet

More Decks by Pedro Nauck

Other Decks in Technology

Transcript

  1. ✓ single lint, build, test and release process ✓ easy

    to coordinate changes across modules ✓ single place to report issues ✓ code review are easier ✓ less management, everything is centralized ✓ dependency management ✓ cheaper pros
  2. ✓ focus on your components ✓ based on stories ✓

    internal hot reload ✓ less configurations ✓ easy to maintain advantages
  3. Predictable state container based on Flux One store. Single Source

    of Truth! State is Read-only (modified by action) Changes are made with Pure Functions
  4. Normalizr takes JSON and a schema and replaces nested entities

    with their IDs, gathering all entities in dictionaries.
  5. ✓ different icons of different sets ✓ components to manage

    svg ✓ bundle just our icons ✓ easy to update the set ✓ build differente sets we needed
  6. $ reicons -p [<package:prefix>] -s images/ -b components/Icons Set directory

    and a custom prefix The source of your icons sets Folder to bundle your icons components
  7. . └── images ├── font-awesome │ ├── book.svg │ ├──

    credit-card.svg │ └── github-logo.svg └── icons ├── home.svg ├── location.svg └── search.svg
  8. . ├── components │ └── Icons │ ├── Fa │

    └── Ic └── images ├── font-awesome └── icons
  9. . └── components └── Icons ├── Fa │ ├── Book.js

    │ ├── CreditCard.js │ └── GithubLogo.js ├── Ic │ ├── Home.js │ ├── Location.js │ └── Search.js └── index.js