Limit search to available items
180 results found. Sorted by relevance | date | title .
Book Cover
E-book
Author Di Francesco, Hugo

Title JavaScript Design Patterns Deliver Fast and Efficient Production-Grade JavaScript Applications at Scale
Published Birmingham : Packt Publishing, Limited, 2024

Copies

Description 1 online resource (308 p.)
Contents Cover -- Title Page -- Copyright and Credits -- Dedications -- Contributors -- Table of Contents -- Part 1: Design Patterns -- Chapter 1: Working with Creational Design Patterns -- What are creational design patterns? -- Implementing the prototype pattern in JavaScript -- Implementation -- A use case -- The singleton pattern with eager and lazy initialization in JavaScript -- Implementation -- Use cases -- Improvements with the "class singleton" pattern -- A singleton without class fields using ES module behavior -- The factory pattern in JavaScript -- Implementation -- Use cases
Improvements with modern JavaScript -- Summary -- Chapter 2: Implementing Structural Design Patterns -- Technical requirements -- What are structural design patterns? -- Implementing the Proxy pattern with Proxy and Reflect -- A redaction proxy implementation -- Use cases -- Improving the proxy pattern in JavaScript with the Proxy and Reflect global objects -- Decorator in JavaScript -- Implementation -- Use cases -- Improvements/limitations -- Flyweight in JavaScript -- Implementation -- Use cases -- Improvements/limitations -- Adapter in JavaScript -- Use cases -- Improvements/limitations
Technical requirements -- What are reactive view library patterns? -- The render prop pattern -- Use cases -- Implementation/example -- Limitations -- The higher-order component pattern -- Implementation/example -- Use cases -- Limitations -- The hooks pattern -- An implementation/example -- Use cases -- Limitations -- The provider pattern -- Use case -- the prop drilling problem -- An implementation/example -- Limitations -- Summary -- Chapter 5: Rendering Strategies and Page Hydration -- Technical requirements -- Client and server rendering with React -- Client-side rendering in React
Server rendering in React -- Trade-offs between client and server rendering -- Static rendering with Next.js -- Automatic static generation -- Static generation with a third-party data source -- Static generation with dynamic paths -- Page hydration strategies -- Common React rehydration issues -- React streaming server-side rendering -- Summary -- Chapter 6: Micro Frontends, Zones, and Islands Architectures -- Technical requirements -- An overview of micro frontends -- Key benefits -- "Classic" micro frontend patterns -- Other concerns in a micro frontend world
Summary Chapter 3: Leveraging Behavioral Design Patterns -- Technical requirements -- What are behavioral design patterns? -- The observer pattern in JavaScript -- Implementation -- Use cases of the observer pattern -- Limitations and improvements -- State and strategy in JavaScript and a simplified approach -- Implementation -- Use cases of the state and strategy patterns -- Limitations and improvements -- Visitor in JavaScript -- Implementation -- Use cases of the visitor pattern -- Summary -- Part 2: Architecture and UI Patterns -- Chapter 4: Exploring Reactive View Library Patterns
Notes Description based upon print version of record
Composing applications with Next.js "zones"
Subject JavaScript (Computer program language)
Software patterns.
Computer software -- Reusability.
Scripting languages (Computer science)
Form Electronic book
ISBN 9781804614020
1804614025