rsnext/test/integration/client-navigation
Lachlan Campbell c480c37c8e
Skip undefined attribute in Head (#9856)
* Fix #8655, skip rendering meta tags with undefined props

* Filter all tags, not just meta

* Only render defined props

* Remove filtering of undefined strings

Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>

* Replace Object.entries

* Remove filtering code

* Simplify code

* Add test

* Add tests for undefined head prop value and tweak check

* Update to strip undefined prop values to match react

* Update head.js

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <timer150@gmail.com>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-02-03 14:55:14 -05:00
..
components Format missed files (#7464) 2019-05-29 18:19:32 -07:00
lib Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
pages Skip undefined attribute in Head (#9856) 2020-02-03 14:55:14 -05:00
test Skip undefined attribute in Head (#9856) 2020-02-03 14:55:14 -05:00
next.config.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00