t run the function required to resize the widget.</p>
</div>
<div id="pre-render-hooks-security" class="section level2" number="8.3">
<h2><span class="header-section-number">8.3</span> Pre Render Hooks &amp; Security</h2>
<p>The <code>createWidget</code> function also comes with a <code>preRenderHook</code> argument which accepts a function that is run just prior to the rendering, this function should accept the entire widget object as input, and should return a modified widget object. This was not used in 