title: Storybook: callback when a story has been rendered
body: <p>I'm working with Storybook for components creation in pure HTML, CSS and JS (jQuery actually).</p>
  <p>I'm wondering if there's a callback function when a story is rendered on the screen (like <code>useEffect</code> for React) because I need to run then the relative jQuery code only when the component is really in the DOM.</p>
  <p>Here's my situation:</p>
  <pre class="lang-js prettyprint-override"><code>// Button.stories.js
  
  // my pure HTML component
  const Button = () =&gt; `&lt;button&gt;My button &lt;/button&gt;`;
  
  
  export default {
      title: 'Buttons',
  };
  
  export const ButtonStory = () =&gt; Button()
  
  // would be great something like: ButtonStory.callback = function(){ do this}
  </code></pre>
  <p>There's something without workaround? (Like wrap the HTML component inside react component and use useEffect for trigger the code)</p>
  <p>Thanks</p>