hmans/miniplex

Support a component prop (or as prop) for ArchetypeEntities

verekia opened this issue · 1 comments

It would be nice to have a prop to render directly a component for each entity, instead of using the children:

<ArchetypeEntities archetype="enemy" as={Enemy} />

Instead of:

<ArchetypeEntities archetype="enemy">
  <Enemy />
</ArchetypeEntities>
hmans commented

This is going to be in 2.0 as discussed, so I'm closing this issue.