One thing I'd like to get rid of entirely is the weird "Studio Home" state which has become a kitchen sink of data (course list, library list, user permissions, feature flags, branding/theming). I think the idea was to improve loading times by loading all the data needed to render the studio home page from a single API, but it's just messy now. And today a few small parallel requests that are definitely needed are better than one big request that ends up loading unused data. So that should be broken up into smaller things (course list query, library list query, users permissions query, etc.) and more specific contexts.
Parts of the redux state to migrate
courseDetail- refactor: Migration of course details to React query #2724customPages- feat(custom-pages): migrate from redux to react query #3124discussionsassetspagesAndResources- feat: Migrate pages and resources to React Query #3222scheduleAndDetails- feat: Migrate redux to react query of Schedule and Details page #3093advancedSettings- refactor: MigrateadvancedSettingsfrom the redux store to React Query #2893studioHome(needs refactor)modelscourseApps- feat: Migrate pages and resources to React Query #3222liveAppsliveAppConfigsXpertSettings- feat: Migrate pages and resources to React Query #3222courseDetails- refactor: Migration of course details to React query #2724sequencesassetsvideosdiscussionTopicslivecourseTeam- Refactor: MovecourseTeamfrom redux store to react query #2888courseUpdates- feat: migrate course updates to react query #3185processingNotification- refactor: MigrateprocessingNotificationfrom redux store to use the functions inToastContext#2917helpUrls- refactor: Migrate Help Urls to React Query #2714courseExport- refactor: MigratecourseExportfrom redux store to React Query #2908courseOptimizer- By @navinkarkeragenericcourseImport- refactor: MigratecourseImportfrom redux store to React query #2902videos- By @navinkarkeracourseOutlinecourseUnitcourseChecklist- refactor: Move redux to react query in course checklist #2870accessibilityPage- refactor: MigrateaccessibilityPagevariable in Redux store to React Query #2760certificates- refactor: Migrate certificates from Redux to React query and context #3117groupConfigurations- feat: MigrategroupsConfigurationfrom Redux store to ReactQuery #2980textbooks- refactor: Migratetextbooksfrom Redux store to React Query #3047Other tasks:
ToastContext: refactor: MigrateprocessingNotificationfrom redux store to use the functions inToastContext#2917 (comment)@tanstack/react-query-devtools?