Version
2.5.3
Reproduction link
https://codepen.io/anon/pen/GOvGBJ?editors=1010
Steps to reproduce
Load the codepen.
This is obviously not an actual SSR app, but is emulating one. The same thing happens with actual SSR that sets the padding based on window width.
What is expected?
The inline style should be updated when the page hydrates (see the codepen below)
What is actually happening?
The style only updates if the element has a ref
See https://codepen.io/anon/pen/aVyjoM?editors=1010