Loading...
Loading...
Error
Oops! Something went wrong
13-access-pinia-state-in-the-options-api
Speed
Speed
Quality
Quality
Captions
Captions
media loading
Play
Pause
10
Seek backward
Rewind 10s
Play
Pause
Play
Play
Pause
Pause
20
Seek forward
Forward 20s
Mute
Unmute
Volume High
Volume Low
Volume Low
Mute
Mute
Unmute
0:00
0:00
Start casting
Stop casting
Chapters
Chapters
Pinia Support for Options API
00:00
Refactoring Component to Options API
00:17
Accessing Store with Options API
00:39
Importing mapState Helper
01:01
Using mapState with Computed Option
01:14
Spreading State into Computed Option
01:46
Displaying Username in Header
01:53
Common Pinia Usage with Options API
02:21
Remapping State to Different Names
02:36
Updating Template for Remapped State
03:22
Manipulating State Output with Functions
03:31
Direct State Mutation with mapState Limitations
04:01
Read-Only Computed Property Error
04:34
Benefits of Read-Only State
05:02
Introducing mapWritableState Helper
05:19
Testing mapWritableState with vModel
05:37
State Updates in Auth User Store
05:50
Limitations of mapWritableState with Functions and Cleanup
06:04
Enable captions
Disable captions
Enable Captions
Enable captions
Disable Captions
Disable captions
Settings
Settings
Settings
Enter fullscreen mode
Exit fullscreen mode
Fullscreen
Enter fullscreen
Exit Fullscreen
Exit fullscreen