title: Fixing conditional state behavior for rendering for Mui <Cards>
body: <p>I have a list of Mui cards. On a card hover, I would like a Floating Action Button to appear inside the card. I'm using state to achieve this, the issue is that the hover state is being applied to ALL cards during state change, meaning the button is showing up on every card, and not the one that's being pointed at/hovered. How can I control this to that the button is only showing on THE card where the state action was being fired off.</p>
  <p>Also, is there anyway to not cause state change to re-render other components? I have a <code>&lt;ChartistGraph&gt;</code> that is being re-rendered on hover which constantly has it's animation repeated.</p>
  <p>Essentially this is what I'm doing:</p>
  <pre><code>    const [state, setState] = useState({
          actionButton: false
      });
  </code></pre>
  <p>My card:</p>
  <pre><code>                        &lt;Card
                            className=&quot;miniGraphCards&quot;
                            onMouseOver={() =&gt; setState({ actionButton: true })}
                            onMouseOut={() =&gt; setState({ actionButton: false })}
                          &gt;
  </code></pre>
  <p>Conditional rendering based off state and hover:</p>
  <pre><code>                            {state &amp;&amp; state.actionButton != false &amp;&amp;
                                &lt;Fab&gt;
                                  &lt;EmojiEmotionsIcon /&gt;
                                &lt;/Fab&gt;}
  </code></pre>
  <p>Please see reproducible code: You will notice the repeat re-rendering of the graphs and the button being applied to all cards on hover.</p>
  <p><a href="https://codesandbox.io/s/elastic-kowalevski-j3wjx" rel="nofollow noreferrer">https://codesandbox.io/s/elastic-kowalevski-j3wjx</a></p>