This changes the useLayoutEffect diffing array to no longer include persist_js_state for the RawHTMLContainer component. If this is the only value that changed, then we don't want to rerender the HTML contents: this value should say something about how a re-render should happen, but it shouldn't trigger one.
This changes the
useLayoutEffect
diffing array to no longer includepersist_js_state
for theRawHTMLContainer
component. If this is the only value that changed, then we don't want to rerender the HTML contents: this value should say something about how a re-render should happen, but it shouldn't trigger one.Also added a test that includes lots of JS API :)