State Management · Senior · Question 11 of 75

What does combineSlices add to Redux Toolkit?

Explanation

const rootReducer = combineSlices(authSlice) and later rootReducer.inject(lazySlice) from a lazily loaded module. Typed selectors (slice.selectors) handle the possibility that the slice isn't injected yet.

Further reading

Problem with a question

State Management · Senior · question 11

Test yourself

Take the State Management · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz