Skip to content

Update app to include localStorage

Latest
Compare
Choose a tag to compare
@entorenee entorenee released this 29 Jun 04:32
· 2 commits to master since this release

The Twitch viewer now utilizes local storage and allows the end user to customize the viewer to the users that they want to follow. The end user can both add and remove Twitch users which will be stored in an array as a staging area, and then into localStorage.

If there is no localStorage values when the user visits the app, it will be populated with a default initial array. If there is localStorage of users, that information will be read and the default initial users will be ignored.