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

Nx - The Easy Choice

Nx - The Easy Choice

We live in a world constantly being bombarded with choices. Choices that drain our time and energy.

How do you decide? Are you a randomizer, an analyst, or a follower? Who should you trust?

Let me enlighten you on what benefits you may reap by using Nx (and monorepos) in various project sizes and setups.
Let me show you the easy and obvious choice you were missing this whole time.
Let me save you time and energy.

Miroslav Jonaš

October 27, 2021
Tweet

More Decks by Miroslav Jonaš

Other Decks in Programming

Transcript

  1. COMMON MISCONCEPTIONS 01 I don’t need this 02 Too opinionated

    03 A steep learning curve 04 Too Angular-ish 05 I don’t work on FAANG sized project
  2. A STEEP LEARNING CURVE 01 Use just the stu ff

    you know (serve, build, lint…) 02 Progress at your own pace 03 Use Nx Console

  3. OFFICIAL PLUGINS Angular, React + Native, Gatsby, Web ESLint, Prettier

    Storybook, Jest, Cypress NestJS, NextJS, Node LESS, SASS, Styled Components, Emotion…
  4. CACHING Never { build, test, lint… } same code twice

    { build, test, lint,... } Nx Local cache { build, test, lint,... } Nx Local cache
  5. BOUNDARIES store games sales coupons core shared admin type:app type:app

    type:feature type:feature type:feature type:util type:util scope:
 store scope:
 store scope:
 admin scope:
 admin scope:
 admin scope:
 shared scope:
 core
  6. SETTING THE RULES type:app type:feature type:util only depend on only

    depend on scope:
 store scope:
 store scope:
 shared scope:
 core type:util type:util only depend on only depend on scope:
 admin scope:
 admin scope:
 shared scope:
 core type:util only depend on only depend on type:feature scope:
 core scope:
 shared only depend on scope:
 shared scope:
 shared
  7. 01 MONOREPOS ROCK! 02 NX GIVES SUPERPOWERS! 03 ONE SIZE

    FITS ALL!
 04 NOT JUST FOR ANGULAR!
  8. Miroslav Jonas / @meeroslav / nx.dev / nrwl.io WHY BE

    A 10X 
 WHEN YOU CAN BE AN NX DEVELOPER?