3 ms·
Thanks for sharing! You've got some nice patterns and utils in that repo. Random question: I noticed you switched from shorthand `<>, </>` to `React.Fragment`
by chrisweekly 7y ago
Thanks for sharing! You've got some nice patterns and utils in that repo.
Random question: I noticed you switched from shorthand `<>, </>` to `React.Fragment` elements. Did you have a need to use keys somewhere and decided to update them all to be consistent? Just curious.
- oldboyFX 7y agoI switched because `</>` breaks syntax highlighting on Github for `.jsx` files. And since most people will be inspecting the code on Github, I thought it was worth switching.
- chrisweekly 7y agoMakes sense, thanks for answering! :)