Set a prop's default value as another prop's value? (PropTypes) – Javascript
I have a prop driven that takes its value from another prop source. driven can be passed a value itself, breaking that link, but by default it follows it. Setting a default prop for source is straightforward, but how can…