[ReactJS] I Still Find Too Many People Who Don’t Know This Cool Tip

If you have:

<ReactFlagsSelect
   searchable={true} />

You don’t need the

={true}

You can just use:

<ReactFlagsSelect searchable />

And get the same outcome.

It reads a lot nicer.

Published by

Code Review

CodeReviewVideos is a video training site helping software developers learn Symfony faster and easier.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.