ioof-holdings / redux-dynamic-reducer

Attach reducers to an existing Redux store
BSD 3-Clause "New" or "Revised" License
68 stars 9 forks source link

Slash delimiter only goes one layer deep #12

Closed mpeyper closed 6 years ago

mpeyper commented 6 years ago

I identified a bug when looking into another issue where using slash(/) delimiters for nested layers only will only go one layer deep.

The issue is caused by this line because the replace only replaces the first instance of the character when the substr parameter is used.