[Vuejs]-Why Computed Setters don't update the View?

2👍

Computeds only update when reactive values are updated. Cookie values are not reactive, so the get doesn’t know when there’s a new value. You’ll need to use a real data item for layout and maintain it by copying data to and from the cookie or localStorage or whatever.

👤Roy J

Leave a comment