Interesting but I don't know if you could stop a determined mind from undoing everything. Also have tried adding wasm to the mix?
There's no javascript security solution that is fullproof.
WASM is hard to use in this case since you can't access the DOM directly -- it's very difficult to conceal the error source.
Of course, if you write the whole application in WASM, that's a good route.
You can write parts that do not require dom in wasm
You can write parts that do not require dom in wasm. And parse in functions that perform dom operations as a callback
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Interesting but I don't know if you could stop a determined mind from undoing everything. Also have tried adding wasm to the mix?
There's no javascript security solution that is fullproof.
WASM is hard to use in this case since you can't access the DOM directly -- it's very difficult to conceal the error source.
Of course, if you write the whole application in WASM, that's a good route.
You can write parts that do not require dom in wasm
You can write parts that do not require dom in wasm. And parse in functions that perform dom operations as a callback