Modern Full-Stack development using Typescript, React, node.js, Webpack, and Docker
Chapter 6: A Few More Words: Advanced TypeScript -- Interfaces -- Argument/Object Interfaces -- Methods in Interfaces -- Interfaces and Classes -- Extending Interfaces -- Namespaces and Modules -- Namespaces -- Modules -- Decorators -- Decorator Factories -- Third-Party Libraries -- Debugging TypeSc...
Main Author: | |
---|---|
Format: | eBook |
Language: | English |
Published: |
[Place of publication not identified]
Apress
2020
|
Subjects: | |
Online Access: | |
Collection: | O'Reilly - Collection details see MPG.ReNa |
Table of Contents:
- Includes bibliographical references and index
- Beyond the Playground
- Configuring TypeScript Compilation
- The Nitty Gritty: Types
- String
- Number
- Boolean
- Any
- Arrays
- Tuples
- Enums
- Function
- Object
- Null, Void, and Undefined
- Custom Type Aliases
- Union Types
- TypeScript == ES6 Features for "Free"!
- The let and const Keywords
- Block Scope
- Arrow Functions
- Template Literals
- Default Parameters
- Spread and Rest (and as an Added Bonus: Optional Arguments)
- Destructuring
- Classes
- Properties
- Member Visibility
- Inheritance
- Getters and Setters
- Static Members
- Abstract Classes
- NPM: More on package.json
- NPM: Other Commands
- Auditing Package Security
- Deduplication and Pruning
- Finding/Searching for Packages sans Browser
- Updating Packages
- Publishing/Unpublishing Packages
- Node: Standard Modules
- File System (fs)
- HTTP and HTTPS (http and https)
- OS (os)
- Path (path)
- Process
- Query Strings (querystring)
- URL (url)
- Utilities (util)
- The Rest of the Cast
- Summary
- Chapter 3: Client-Side Adventures: React
- A Brief History of React
- Yeah, Okay, History Nerd, That's All Great, but What IS React?!
- The Real Star of the Show: Components
- Components Need Info: Props
- Components (Sometimes) Need Memory: State
- Making Them Look Good: Style
- In the End, Why React?
- Summary
- Chapter 4: A Few More Words: Advanced React
- A Better Way to Write React Code: JSX
- Yeah, Okay, So What Does It LOOK LIKE?!
- A Slight Detour into Babel Land
- Compile JSX
- And Now, Put It All Together
- Whither Props?
- Default Props
- Typing Props
- Component Lifecycle
- Summary
- Chapter 5: Building a Strong Foundation: TypeScript
- What Is TypeScript?
- Jumping into the Deep End
- Intro
- Table of Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Server-Side Action: Node and NPM
- Of JavaScript Runtimes and Building (Mostly) Servers
- First Baby Steps with Node: Installation
- More Useful: Executing JavaScript Source Files
- Node's Partner in Crime: NPM
- A Few More NPM Commands
- Initializing a New NPM/Node Project
- Adding Dependencies
- A Quick Aside: Semantic Versioning
- Fisher Price's "My First Node Web Server"
- Bonus Example
- Summary
- Chapter 2: A Few More Words: Advanced Node and NPM