Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(LazyLoadImage): SSR Warning: Prop style did not match (#104)
react doesn't apply style attributes with empty value (empty string) in markup, but still make a strict comparison and try to find background size and background image properties when hydrating client. 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" Co-authored-by: mikhail_zakharov <mikhail@getic.eu>
- Loading branch information