INNER CODE UNIT · JavaScript

getDefaultState

VueTubeApp/VueTube · NUXT/store/channel/index.js:1

const getDefaultState = () => {
  return {
    loading: null,
    error: null,
    avatar: null,
    banner: null,
    title: null,
    subscribe: null,
    subscribeAlt: "",
    descriptionPreview: null,
    subscribers: null,
    videosCount: null,
    featuredChannels: null,
    videoExample: null,
  };
};
export const state = () => {
  return getDefaultState();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…