Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Also isn't the outer most spread (if that even is the spread operator) even necessary? You create an array, sort it and then put it's contents into another array
-
john-doe9365yThat looks like a rat nest full of bugs. If that's react, you shouldn't be patching state that way.
Use setState(callback (state)))
This is why I love JS
joke/meme
unironically loving js