News for hackers. Stuff that matters.
Re:Solid.js feels like what I always wanted React to be by tjchear on Tuesday March 01, 2022 @05:26AM (#30512309)
Haven't used solidjs before, but I paid the doc section a quick visit and saw that it's basically <For each={foobar}> where foobar can be whatever javascript code you want. So you can certainly do filter/sort/project on your data before rendering.
Re:Solid.js feels like what I always wanted React to be by Aeolun on Tuesday March 01, 2022 @06:06AM (#30512627)
You’d probably not want to project inside that loop though, but before it, in a reactive effect.