react-helmet v2.3.0 Release Notes
-
🛠 Bugfixes
- FOUC fix - existing tags that persist between route changes, will not be removed and re-added to the DOM. They will remain unchanged. This will avoid, in particular, stylesheets being removed and re-added causing an unstyled flash when the new Helmet is rendered.
- onChangeClientState enhanced to also return the html tags that were added and removed.
- provide fallback object for rewind() result - If no Helmets are rendered, rewind() will still return head.base, head.title, etc.
- Tag attributes ordering does not matter. It no longer looks at the first valid attribute to identify the tag. All attributes of the tag will be searched for names that can be found in HelmetConstants.js. When rel="canonical" is included, it will take priority over href.
- Bump dependencies