oerc-music / meld-clients-core

MELD Clients Core: Music Encoding and Linked Data
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

MELD app top-level wrapper to handle redux middleware #14

Open DILewis opened 3 years ago

DILewis commented 3 years ago

MELD requires redux-based state, so needs reducers, provider and middleware registration in the parent js file. This can look daunting to a newcomer and is essentially boilerplate. Suggestion: write a wrapper component that can be included that sets all this up, perhaps with additional reducers to register passed in as props.