4lve
4lve
Yea customs hooks would be good, but you would need to be able to get the message id and rerender the component manually
Maybe add a way to save important message states and load them again. You could also allow the component to take a message and recover the state that way
Anyone else have any suggestions on how this can be done? Maybe like storing it in a database?
You could just have an async func that returns the input values or undefiend if nore, and for the building of the form you could use non-reactive react
   Managed to implement promises
Adding await to the call function is a better solution ```js const call = async (f, ...args) => { if (f instanceof Function) return ensureArray(await f(...args)); const mm = f...
Found a temp fix, using ```typescript (umi.rpc as any).connection as Connection ``` Don't use this in production code tho as in the future the rpc is going to be rewritten.
I couldn't use an BTreeSet with the kinobi javascript renderer, I fixed my issue though by just changing the anchor progam. Though it could be nice to support it for...
I know the new token program uses key-value pairs for their metadata, I could look into how they did it
I don't have the exact idl on me rn, but it looks something like this. Note this isn't even supported by the anchor cli gen. `"type":{"defined":"BTreeMap"}`