Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Learn @ngrx/entity and Feature Modules

54.1K views
•
October 26, 2017
by
Fireship
YouTube video player
Learn @ngrx/entity and Feature Modules

TL;DR

Learn how to use Ng Rx and the new Entity package to build a Pizza ordering app with a global data store.

Transcript

the worst thing about ng Rx is the sheer amount of code that it takes to build anything but you're rewarded for that extra effort with a global data store that's easy to test and debug and cool things like the Redux dev tools here on the right to address the amount of boilerplate code in ng rx they recently released a new package called entity it p... Read More

Key Insights

  • 👨‍💻 Ng Rx requires more code, but it offers a global data store that is easy to test and debug.
  • 💨 The Entity package provides a standardized way to manage collections of objects and perform CRUD operations.
  • 🤝 Feature modules help to organize code when dealing with multiple features.
  • 🤩 Actions, reducers, and selectors are key components in working with Ng Rx and the Entity package.
  • 👻 The Entity state structure allows for efficient data retrieval.
  • 😀 Ng Rx and the Entity package bring consistency to dealing with credence in an app.
  • 👏 The Pizza ordering app demonstrates the use of Ng Rx and Entity to manage pizza data.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What are the advantages of using Ng Rx and the Entity package?

Ng Rx provides a global data store that is easy to test, debug, and comes with cool features like Redux dev tools. The Entity package makes it easier to manage collections of objects and perform CRUD operations.

Q: How is the Pizza ordering app structured with Ng Rx?

The app is created as a feature module, with the store module and reducers imported. Actions, reducers, and selectors are created to handle data updates and retrieval.

Q: How can you create a new pizza in the app?

To create a new pizza, you can generate some dummy data and dispatch the create action, passing the data as the payload.

Q: How can you update or delete a pizza in the app?

To update a pizza, you can dispatch the update action, passing the pizza ID and the updated data as the payload. To delete a pizza, you can dispatch the delete action, passing the pizza ID as the payload.

Summary & Key Takeaways

  • Ng Rx requires a lot of code to build, but it offers a global data store that is easy to test, debug, and comes with cool features like Redux dev tools.

  • The Entity package provides a standardized way to manage collections of objects and perform CRUD operations.

  • To build the Pizza ordering app, create a feature module with Ng Rx, import the store module and reducers, create actions, reducers, and selectors, and use them to update and retrieve data.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Fireship 📚

When being over-employed goes wrong... thumbnail
When being over-employed goes wrong...
Fireship
Vim in 100 Seconds thumbnail
Vim in 100 Seconds
Fireship
100+ Computer Science Concepts Explained thumbnail
100+ Computer Science Concepts Explained
Fireship
How to Build a Video Editing Tool with React and WebAssembly thumbnail
How to Build a Video Editing Tool with React and WebAssembly
Fireship
Build a Chatbot from Scratch - Dialogflow on Node.js thumbnail
Build a Chatbot from Scratch - Dialogflow on Node.js
Fireship
How to Build a RESTful API with Node.js Express thumbnail
How to Build a RESTful API with Node.js Express
Fireship

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.