seamossS
Convex Community5mo ago
11 replies
seamoss

Using an entity component system for an

Using an entity component system for an application I'm working on and did something really fun with convex recently. I was able to generate unique jotai atoms for each instance of a component by entity key derived from Convex generated types. So like.. I don't have to create a dedicated atom for each component and convex really is my source of truth now. Pretty nice. (code in thread for reference)
Was this page helpful?