Repository navigation
v6.0.6 - Patch Update
Change Log
The view() function has been updated to return the state by default, ensuring consistent behavior even when the user omits an explicit return.
Old
export const view = () => {
const newdata = 'something'
return { ...state, newdata }
}New
export const view = () => {
const newdata = 'something'
return { newdata } // All state data will be available, plus new data.
}