humanmade / repress

Connect your Redux store to the WordPress REST API.
Other
83 stars 11 forks source link

Should getSubstate be moved into the constructor? #1

Open rmccue opened 6 years ago

rmccue commented 6 years ago

Rather than passing getSubstate into each helper method, should it instead be registered in the constructor? This would simplify it, but also removes some of the separation. Is that a good thing?