-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Currently, if we want to add a new component to Hypermine, boilerplate code has to be added to many different places in the codebase to allow data about this component to be transferred between the server and the client, along with additional boilerplate code to allow saving and loading.
When we start supporting a greater number of components, we should consider how to streamline the process of creating new ones, as this would make it less difficult for people less familiar with the codebase to add features.
One open design problem is how to serialize these components for saving, since naively relying on defaults would likely prevent save files from being compatible between versions of Hypermine.
As of June 2024, we probably need more components in place before we have enough information on how to perform such an abstraction.