Archive for the ‘state’ Category

User Facing State

Let's talk about state. Communicating state to the user that is, not application stores state in JavaScript objects, or localStorage. We're going to be talking about how to let our users know about state (think: whether a button is disabled or not, or ...

Intro to Vue.js: Vuex

Posted on: No Comments
This is the fourth part in a five-part series about the JavaScript framework, Vue.js. In this part, we'll cover Vuex for state management. This is not intended to be a complete guide, but rather an overview of the basics to get you up and running so yo...

How to Manage Your JavaScript Application State with MobX

Posted on: No Comments
If you've ever written anything more than a very simple app with jQuery, you've probably run into the problem of keeping different parts of the UI synchronized. Often, changes to the data need to be reflected in multiple locations, and as the app grows...

React for Angular Developers

Posted on: No Comments
This article was peer reviewed by Craig Bilner. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! This article is for developers who are familiar with Angular 1.x and would like to learn more about React. We...

What’s in a State and How to Persist It

Posted on: No Comments
A state is something that is affected by you and the memory of that. This something can be you clicking on an element, like a button, or you typing some text into an element. The state resides in your browser’s RAM. It deals with JavaScript objects l...