Josh Justice

Simplifying Vuex Using Cached Getters

Josh Justice | Jul 22, 2018

In this screencast, we’re going to look at how to use the caching functionality of Vuex’s getters to simplify your data store code. We'll show you how to replace fragile imperative code with robust declarative code—and identify the tradeoffs of doing so.

For the More Curious...

Vuex Getters Documentation
BNR Guide to Front-End Web Development
Full Stack Courses

Subscribers Only

Transcripts are for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Subscribers Only

Project files are only available for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Need Help?

If you get stuck, try starting a discussion with Big Nerd Ranch experts in the community tab.

Related Screencasts

Explore other screencasts related to this topic.

Extracting a React Component

8 minutes

Sometimes we don’t realize we should make a custom child component until it’s too late. In this screencast, we'll teach you how to extract a React component from an app.

Rails APIs (Part 1) - Getting Past the CRUD

8 minutes

In this screencast, we'll show you how to create a web service for tracking todos and we'll continue to build on this application throughout the rest of the series.

Rails APIs (Part 6) - Authorization Rules

7 minutes

In a previous video we set up authentication for our Rails API, so that only logged in users can make changes. But sometimes more sophisticated rules are needed. In this screencast, we'll learn how to successfully add authorization to our API.

Rails APIs (Part 5) - Associations and Nested Routes

5 minutes

In this screencast, we’ll use the Doorkeeper gem makes it easy to add authentication to Rails APIs using the OAuth 2 standard.

Rails APIs (Part 2) - Deploying

6 minutes

Whether you are building a prototype or a business critical product, Heroku makes it easy to deploy and scale web applications. If you’ve never run a production web application before this might sound intimidating, but don’t worry—we’re going to use Heroku, a platform that makes deploying apps incredibly easy. But first we have a little preparation to do.

Rails APIs (Part 7) - Testing Web Services

8 minutes

In a previous screencasts, we built out a simple but full-featured web service. We have several tables of related data, validation, default values, and authorization. This is great, but it’s also starting to get complex enough that we might break something! Luckily, Rails’ testing support is second-to-none. In this screencast, we'll learn how to set up automated testing for our Rails web service.