PR makes it so that the constants (DEFAULT_SCOPE, HIDE, RESET, SHOW) from the reducer file so that downstream libraries can use them.
In our application, we want to implement our own version of loadingBarReducer where the state is a simple toggle, vs it being a counter, and having these be a top level exports would simplify things / give us confidence that our implementation won't break on us.
PR makes it so that the constants (
DEFAULT_SCOPE
,HIDE
,RESET
,SHOW
) from the reducer file so that downstream libraries can use them.In our application, we want to implement our own version of
loadingBarReducer
where the state is a simple toggle, vs it being a counter, and having these be a top level exports would simplify things / give us confidence that our implementation won't break on us.