Tweet
This is exactly why I love sharing in public. I posted my ugly code, got some help from @brandontsang2 (and some others on LinkedIn), and now I have this beautiful refactored code! No more #recursion necessary 👋

#100DaysOfCode #BuildInPublic #100Devs twitter.com/brandontsang2/…
@DevlinRocha @discord If you use the `String.prototype.split()` function with a regex, the returned array will be the split string plus all the matched capture groups (the parentheses in the regex). I think it's then a matter of surrounding all odd-numbered elements with <a> tags.
I need to work on cropping the uploaded image to be a circle, but that bug aside I'm happy with it so far!

#ReactJS #TypeScript #JavaScript #NextJS #TailwindCSS #Firebase #Redux #buildinpublic #coding #webdevelopment #webdev #100daysofcodechallenge