Jacob Beltran
Feb 24, 2017 · 1 min read

Personally, I like to use defaultProps because it goes hand in hand with propTypes. I nearly always include propTypes definitions for my components, as it makes them very self-documenting. defaultProps, just seems to be a natural extension of that convention to me. But really, there’s nothing wrong with your approach (and it is much less verbose ).

    Jacob Beltran

    Written by

    Frontend Dev | Designer | Mad Scientist

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade