Tip 50 | Use Build Tools to Combine Components |
In this tip, youâll learn how to compile JavaScript code and assets with build tools.
In the previous tip, you saw the advantages of the component architecture. You also learned about the one big problem with component architecture: It wonât work natively in browsers.
Also in the previous tip, you used the tools provided by create-react-app[57] to get your project compiled and running. Thatâs great. You should always take advantage of predesigned build tools. Every project has one. Sometimes there are official projectsâangular-cli and EmberCLI are examplesâand if there are no official projects, search code repos such as github for Starter Packs. Eventually, however, youâll need to customize ...
Get Simplifying JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.