Thanks for your input. I do have another follow up questions :
Would using a library like immer work?
If yes, how should I include immer in discourse?
I have seen mentions of ‘copy it into assets from node_modules’, but I would prefer it if there is a way to do it via npm, or even a cdn link in the header tag