Hacker News new | ask | show | jobs
by chrisweekly 2335 days 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.

1 comments

I 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.

Makes sense, thanks for answering! :)