1 min readApr 27, 2020
I think it’s much more readable to use lodash get, which also avoids the linting error and allows you to specify a default value for the end result (you don’t need it for the pieces of the path, because get already handles that)