geolessel / react-phoenix

Make rendering React.js components in Phoenix easy
http://reactphoenix.com
MIT License
504 stars 38 forks source link

is there a way to pass a list of objects? #54

Closed hungtienvu closed 2 years ago

hungtienvu commented 3 years ago

Thank you for making this awesome repo.

I am wondering if we can pass a list of objects into props? For example: [%{obj_1}, %{obj_2}]? I've tried many ways to pass my Repo.all structures to the component but couldn't.

Any ideas?

geolessel commented 3 years ago

@hungtienvu I'm out on vacation for the week but will try to remember to come back to this when I return.