Modern Frontend Development with Node.js by Florian Rappl
Author:Florian Rappl
Language: eng
Format: epub
Publisher: Packt
Published: 2022-11-15T00:00:00+00:00
Figure 6.3 â The example applicationâs modules
While some of the given aspects should be rather simple to implement in a bundler, other properties of the example application might be challenging. For instance, what is the behavior of a bundler when duplicate modules are found? Some bundlers may duplicate the generated code while others may create a shared bundle that is a loading prerequisite for the generated side bundles.
In the case of this example, we can see that Player.jsx appears twice. Weâll use this to answer the question for each bundler. Furthermore, pretty much every module requires react; however, since it is already required in the initial script module (script.tsx), it should not be duplicated.
Without further ado, letâs see how this example application can be bundled using Webpack.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Web Development with Julia and Genie by Ivo Balbaert & Adrian Salceanu(5733)
State Management with React Query by Daniel Afonso(3222)
Eleventy by Example by Robinson Bryan;(3156)
Architecting Vue.js 3 Enterprise-Ready Web Applications by Solomon Eseme(2853)
Digital Marketing with Drupal by José Fernandes(2811)
Building Python Web APIs with FastAPI by Abdulazeez Abdulazeez Adeshina(2755)
Becoming an Enterprise Django Developer by Michael Dinder(1223)
Building Python Web APIs with FastAPI: A fast-paced guide to building high-performance, robust web APIs with very little boilerplate code by Abdulazeez Abdulazeez Adeshina(1159)
Operator Training Simulator Handbook by Joseph Philip(1129)
Practical WebAssembly: Explore the fundamentals of WebAssembly programming using Rust by Sendil Kumar Nellaiyapen(1052)
Google Workspace User Guide: A Practical Guide to Using Google Workspace Apps Efficiently While Integrating Them With Your Data by Balaji Iyer(1042)
Hands-on Cloud Analytics with Microsoft Azure Stack: Transform Your Data to Derive Powerful Insights Using Microsoft Azure by Prashila Naik(1023)
Building SPAs with Django and HTML Over the Wire: Learn to build real-time single page applications with Python by Andros Fenollosa(972)
State Management with React Query by Afonso Daniel;(939)
Modern Frontend Development with Node.js by Florian Rappl(905)
High Performance with Laravel Octane by R. Butti(894)
Kubernetes Design Patterns and Extensions by Onur Yilmaz(887)
JavaScript from Frontend to Backend by Unknown(792)
Building Data Science Applications with FastAPI by François Voron(759)
