I think the core logic of redux is the application of javascript closure + reasonable api. The core logic of react-redux is to link redux to the life cycle of react + reasonable api. JavaScript closure example const create = () => { let state; const getValue = () => state; const setValue = (value) […]