Hi. Hope you’re having a good day. So i’m busy building a custom wysiwyg editor. It’s custom to our needs that’s why i’ve opted out using trix or something like it.
So. Before i was doing all the conversion by writing Stimulus controllers that handled the unique token and replaced it with something prover. However, i just migrated to using turbo.
Basically is on every keystroke i send a request to a controller that will render some stream that will update the preview.
You can see the youtube video to see what i’m saying
I was wondering. Would this be bad in a production environment?
This is the main method in the Stimulus controller that is responsible for drawing it on the client-side. Just to illustrate what i’m trying to evade here
Thanks.