CremeDeLaKremlin
How to destructure properly?
Hey community!
I'm brand new to SolidJS so I apologize if this is a basic question. I'm trying to find a way to destructure props the SolidJS way. I've tried this a couple of different ways, and I seem to run into problems. My issue stems from a request that returns a bunch of nested data (GraphQL), and I'd like to break that data up into pieces.
I'd like to change data that looks like this:
data()?.user?.repositoriesContributedTo.nodes
24 replies