This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
⚠️⚠️⚠️⚠️⚠️⚠️
main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.
⚠️⚠️⚠️⚠️⚠️⚠️
Releases
miniplex@2.0.0-beta.3
Patch Changes
20a0904: Upgraded to building with TypeScript 4.9.
Updated dependencies [80b944f]
Updated dependencies [20a0904]
Updated dependencies [728feb4]
Updated dependencies [48f88f2]
Updated dependencies [a96901f]
@miniplex/react@2.0.0-beta.3
@miniplex/core@2.0.0-beta.3
@miniplex/bucket@2.0.0-beta.3
Patch Changes
20a0904: Upgraded to building with TypeScript 4.9.
@miniplex/core@2.0.0-beta.3
Patch Changes
20a0904: Upgraded to building with TypeScript 4.9.
Updated dependencies [20a0904]
@miniplex/bucket@2.0.0-beta.3
@miniplex/react@2.0.0-beta.3
Patch Changes
80b944f: useCurrentEntity will now throw an error if it is invoked outside of an entity context (instead of returning undefined).
20a0904: Upgraded to building with TypeScript 4.9.
728feb4: <Entity> now accepts a forwarded ref that will be set to the created entity.
48f88f2: Fixed a bug (#269) where <Entity> would destroy and recreate its entity every time it was rendered.
a96901f: Breaking Change: Removed the <Archetype> component. Please use <Entities in={...} /> instead:
/* Before: */
<Archetype with={["enemy", "attacking"]} without="dead" />
/* After (inline): */
<Entities in={world.with("enemy", "attacking").without("dead")} />
/* After (out of band): */
const attackingEnemies = world.with("enemy", "attacking").without("dead")
<Entities in={attackingEnemies} />
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
⚠️⚠️⚠️⚠️⚠️⚠️
main
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onmain
.⚠️⚠️⚠️⚠️⚠️⚠️
Releases
miniplex@2.0.0-beta.3
Patch Changes
@miniplex/bucket@2.0.0-beta.3
Patch Changes
@miniplex/core@2.0.0-beta.3
Patch Changes
@miniplex/react@2.0.0-beta.3
Patch Changes
useCurrentEntity
will now throw an error if it is invoked outside of an entity context (instead of returningundefined
).<Entity>
now accepts a forwarded ref that will be set to the created entity.<Entity>
would destroy and recreate its entity every time it was rendered.a96901f: Breaking Change: Removed the
<Archetype>
component. Please use<Entities in={...} />
instead: