1. Projects that I like that make use of Vue

2. Concepts

2.1. Data and props

In a nutshell:

Data is the private memory of each component where you can store any variables you need. Props are how you pass this data from a parent component down to a child component.

Props Versus Data in Vue: The Subtle Differences You Need to Know - Michael T…

That whole article is a handy overview of the difference between the two:

2.2. Reactivity

This is to me so far the nicest thing about using Vue. You worry about state and logic, and the view is rendered dynamically without having to toggle bits of the DOM all over the place.

With Vue you don't need to think all that much about when the component will update itself and render new changes to the screen.

This is because Vue is reactive.

Instead of calling setState every time you want to change something, you just change the thing! As long as you're updating a reactive property (props, computed props, and anything in data), Vue knows to watch for when it changes.

Props Versus Data in Vue: The Subtle Differences You Need to Know - Michael T…

2.3. Vuex

Vuex is based to some degree on the Elm architecture.

Most user interface bugs are state-related. Not a surprise when you consider that UI is one big concurrency problem. User interaction, animation, and asynchronous processes such as http requests, all happen constantly within a UI, returning who knows when, interleaving with each other, and mutating state. It’s terribly easy for these processes to step on each other’s toes and produce a broken app states.

ObservableStore - by Gordon Brander - Subconscious

3. Elsewhere

3.1. In my garden

Notes that link to this note (AKA backlinks).

3.2. In the Agora

3.3. Mentions

This page last updated: 2023-03-17 Fri 16:15. Map. Recent changes. Source. Peer Production License.