Skip to content

Commit

Permalink
feat: refactor Helmet API (#246)
Browse files Browse the repository at this point in the history
* (feat) - new API to proved actual head tags as children to Helmet creating a more declarative API.  Fully backwards compatible.

* test: Update tests to use declarative API

* Converting api -> title unit tests.

* ESLint fix.

* Duplicate prop

* title attributes unit tests

* Update tests to use declarative API

* ESLint fixes.

* ref -> rel

* html Attributes unit tests

* fix lang warning

* test: Update onChangeClientState

* test: Update script tags

* test: Update noscript tags

* Update baseTag + metaTag

* test: Update style tags

* partial link tag unit tests

* more link tags

* test: Update link tags

* fix: Don't warn if no child props are provided.

* (fix) title and titleAttribute unit tests

* test: Fix html attributes tests

* fix: Group array-type children into arrays.

* fix: Bridge nested children into appropriate child props.

* fix: Noscript test

* (fix) server meta unit test - special character

* (fix) convert html attributes to react keys when rewinding as a component

* fix: Update describe name.

* (fix) trailing comma

* Bump to 5.0.0-beta

* feat: Add {Helmet} export

* feat: Add renderStatic alias

* test: Update grammar

* refactor: Organize new children to props code

* 5.0.0-beta.2

* chore: Consolidate & organize Helmet constants.

* feat: Support body attributes

* fix: render body attributes on the server

* chore: update README

* chore: fix typos
  • Loading branch information
doctyper committed Mar 21, 2017
1 parent f392aae commit 22f6806
Show file tree
Hide file tree
Showing 6 changed files with 3,176 additions and 229 deletions.
Loading

0 comments on commit 22f6806

Please sign in to comment.