I have an electron app that executes a program and stores the output when data is received.
My goal is to showcase the content of this output within an html pre element.
One approach I can take is to create a variable and continuously add the output data as it arrives.
I'm curious if there's a more efficient method using VueJS. Rather than constructing a string and letting Vue render the variable like:
<pre>
{{ outputBuffer }}
</pre>
Is there a way to directly append the incoming data? Ideally, updating the outputBuffer with new information and then appending it to the pre element, possibly by utilizing .innerHTML in a computed property.