title: How to perform multiple actions when clicking on a button component?
body: <p>I created a button in <code>solid-js</code> and I would like that when this button is clicked, a page is opened and the counter goes to zero. To perform these operations, I have already created two functions. I would like to ensure that when clicking this button that these two functions are called asynchronously. So I wrote the following code:</p>
  <pre><code> &lt;button
          onClick={[toggle, setNullCount]}
        &gt;
  </code></pre>
  <p>with functions to call <code>toggle</code> and <code>setNullCount</code>. However, I realized that when I click on the button, only the first declared function is called and I don't know how to allow two functions to be called on click.</p>