react doesn't apply style attributes with empty value (empty string) in
markup on server side and client side, but still make a strict comparison and try to find
background size and background image properties when hydrating client.
this is why someone might get these errors in their browser with react 18:
Warning: Prop style did not match. Server: "color:transparent;
display:inline-block;height:244;width:244" Client: "background-image:;
background-size:;color:transparent;display:inline-block;
height:244;width:244"
Fixes #105
removes unnecessary styles and error warning
react doesn't apply style attributes with empty value (empty string) in markup on server side and client side, but still make a strict comparison and try to find background size and background image properties when hydrating client. this is why someone might get these errors in their browser with react 18:
Fixes #105 removes unnecessary styles and error warning