In React, there’s a desire to set innerHTML because things are hard to do 
there. In Royale, not so much.

That said, we’re using innerHTML in some places in the Framework where it is 
not necessary. That should be fixed.

> On Dec 7, 2021, at 9:36 PM, Greg Dove <greg.d...@gmail.com> wrote:
> 
> We discussed at one point the potential security risks associated with
> using innerHTML in some code, for example and that other frameworks avoid
> that (React requires that a dev use a method called dangerouslySetInnerHTML
> or something like that).

Reply via email to