@selfcommunity/react-ui 0.10.2-courses.205 → 0.10.2-courses.206

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,7 +34,7 @@ function Students(props) {
34
34
  isLoadingNext: false,
35
35
  next: null,
36
36
  cacheKey: react_core_1.SCCache.getWidgetStateCacheKey(react_core_1.SCCache.STUDENTS_PARTECIPANTS_COURSES_STATE_CACHE_PREFIX_KEY, course.id),
37
- cacheStrategy: utils_1.CacheStrategies.CACHE_FIRST,
37
+ cacheStrategy: utils_1.CacheStrategies.NETWORK_ONLY,
38
38
  visibleItems: endpointQueryParams.limit
39
39
  }, widget_1.stateWidgetInitializer);
40
40
  // HOOKS
@@ -45,7 +45,7 @@ function Requests(props) {
45
45
  isLoadingNext: false,
46
46
  next: null,
47
47
  cacheKey: react_core_1.SCCache.getWidgetStateCacheKey(react_core_1.SCCache.USERS_REQUESTS_COURSES_STATE_CACHE_PREFIX_KEY, course.id),
48
- cacheStrategy: utils_1.CacheStrategies.CACHE_FIRST,
48
+ cacheStrategy: utils_1.CacheStrategies.NETWORK_ONLY,
49
49
  visibleItems: endpointQueryParams.limit
50
50
  }, widget_1.stateWidgetInitializer);
51
51
  // CONTEXTS
@@ -51,7 +51,7 @@ function Users(props) {
51
51
  isLoadingNext: false,
52
52
  next: null,
53
53
  cacheKey: react_core_1.SCCache.getWidgetStateCacheKey(react_core_1.SCCache.USERS_PARTECIPANTS_COURSES_STATE_CACHE_PREFIX_KEY, course.id),
54
- cacheStrategy: utils_1.CacheStrategies.CACHE_FIRST,
54
+ cacheStrategy: utils_1.CacheStrategies.NETWORK_ONLY,
55
55
  visibleItems: endpointQueryParams.limit
56
56
  }, widget_1.stateWidgetInitializer);
57
57
  // CONTEXTS
@@ -31,7 +31,7 @@ function Students(props) {
31
31
  isLoadingNext: false,
32
32
  next: null,
33
33
  cacheKey: SCCache.getWidgetStateCacheKey(SCCache.STUDENTS_PARTECIPANTS_COURSES_STATE_CACHE_PREFIX_KEY, course.id),
34
- cacheStrategy: CacheStrategies.CACHE_FIRST,
34
+ cacheStrategy: CacheStrategies.NETWORK_ONLY,
35
35
  visibleItems: endpointQueryParams.limit
36
36
  }, stateWidgetInitializer);
37
37
  // HOOKS
@@ -42,7 +42,7 @@ function Requests(props) {
42
42
  isLoadingNext: false,
43
43
  next: null,
44
44
  cacheKey: SCCache.getWidgetStateCacheKey(SCCache.USERS_REQUESTS_COURSES_STATE_CACHE_PREFIX_KEY, course.id),
45
- cacheStrategy: CacheStrategies.CACHE_FIRST,
45
+ cacheStrategy: CacheStrategies.NETWORK_ONLY,
46
46
  visibleItems: endpointQueryParams.limit
47
47
  }, stateWidgetInitializer);
48
48
  // CONTEXTS
@@ -48,7 +48,7 @@ function Users(props) {
48
48
  isLoadingNext: false,
49
49
  next: null,
50
50
  cacheKey: SCCache.getWidgetStateCacheKey(SCCache.USERS_PARTECIPANTS_COURSES_STATE_CACHE_PREFIX_KEY, course.id),
51
- cacheStrategy: CacheStrategies.CACHE_FIRST,
51
+ cacheStrategy: CacheStrategies.NETWORK_ONLY,
52
52
  visibleItems: endpointQueryParams.limit
53
53
  }, stateWidgetInitializer);
54
54
  // CONTEXTS