Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helmet 5.0.0: requestIdleCallback support #248

Merged
merged 71 commits into from
Mar 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
170fbb1
(feat) - new API to proved actual head tags as children to Helmet cre…
cwelch5 Mar 14, 2017
6cacc3d
test: Update tests to use declarative API
Mar 14, 2017
792665d
Converting api -> title unit tests.
cwelch5 Mar 14, 2017
4ec3fad
Merge branch 'feature/declarative-api' of https://github.com/nfl/reac…
cwelch5 Mar 14, 2017
5f62910
ESLint fix.
Mar 14, 2017
a2f533e
Duplicate prop
Mar 14, 2017
c60efc6
title attributes unit tests
cwelch5 Mar 14, 2017
add215d
Merge branch 'feature/declarative-api' of https://github.com/nfl/reac…
cwelch5 Mar 14, 2017
e073a3f
Update tests to use declarative API
carakuei Mar 14, 2017
157f3c2
Merge branch 'feature/declarative-api' of https://github.com/nfl/reac…
carakuei Mar 14, 2017
0318d34
ESLint fixes.
Mar 14, 2017
13a00bc
Merge branch 'feature/declarative-api' of github.com:nfl/react-helmet…
Mar 14, 2017
dcd977e
ref -> rel
Mar 14, 2017
a16ecb3
html Attributes unit tests
cwelch5 Mar 14, 2017
b6ce9f0
Merge branch 'feature/declarative-api' of https://github.com/nfl/reac…
cwelch5 Mar 14, 2017
993a52f
fix lang warning
cwelch5 Mar 14, 2017
d8ad1af
test: Update onChangeClientState
Mar 14, 2017
66599b3
Merge branch 'feature/declarative-api' of github.com:nfl/react-helmet…
Mar 14, 2017
4d33271
test: Update script tags
Mar 14, 2017
b1613df
test: Update noscript tags
Mar 14, 2017
eb632d5
Update baseTag + metaTag
carakuei Mar 14, 2017
bf8457a
Merge branch 'feature/declarative-api' of https://github.com/nfl/reac…
carakuei Mar 14, 2017
5791649
test: Update style tags
Mar 14, 2017
178572a
Merge branch 'feature/declarative-api' of github.com:nfl/react-helmet…
Mar 14, 2017
e9a4e88
partial link tag unit tests
cwelch5 Mar 14, 2017
d0d35c1
Merge branch 'feature/declarative-api' of https://github.com/nfl/reac…
cwelch5 Mar 14, 2017
2b7fb5b
more link tags
cwelch5 Mar 14, 2017
5b96a18
test: Update link tags
Mar 14, 2017
4bec812
Merge branches 'feature/declarative-api' and 'feature/declarative-api…
Mar 14, 2017
a036766
fix: Don't warn if no child props are provided.
Mar 14, 2017
23fde07
(fix) title and titleAttribute unit tests
cwelch5 Mar 14, 2017
dc0eb1a
test: Fix html attributes tests
Mar 14, 2017
f0e9076
fix: Group array-type children into arrays.
Mar 14, 2017
d057b50
fix: Bridge nested children into appropriate child props.
Mar 15, 2017
1254a65
fix: Noscript test
Mar 15, 2017
c4fe3e6
(fix) server meta unit test - special character
cwelch5 Mar 15, 2017
f90b121
Merge branch 'feature/declarative-api' of https://github.com/nfl/reac…
cwelch5 Mar 15, 2017
60e4bb7
(fix) convert html attributes to react keys when rewinding as a compo…
cwelch5 Mar 15, 2017
3ff243b
fix: Update describe name.
Mar 15, 2017
f822626
(fix) trailing comma
cwelch5 Mar 15, 2017
94e3115
Merge branch 'feature/declarative-api' of https://github.com/nfl/reac…
cwelch5 Mar 15, 2017
eba30b6
Bump to 5.0.0-beta
cwelch5 Mar 15, 2017
3f858f8
feat: Add {Helmet} export
Mar 16, 2017
5bba481
feat: Add renderStatic alias
Mar 16, 2017
d7406d7
test: Update grammar
Mar 16, 2017
772e6bb
refactor: Organize new children to props code
Mar 16, 2017
1d2c30a
5.0.0-beta.2
Mar 16, 2017
6eeb2b2
chore: Consolidate & organize Helmet constants.
Mar 16, 2017
fce9cba
feat: Support body attributes
Mar 16, 2017
c3c0c00
fix: render body attributes on the server
Mar 16, 2017
04232e7
chore: update README
Mar 17, 2017
05f9986
feat: use requestIdleCallback to batch DOM updates
Mar 17, 2017
2955c74
chore: move utilities into separate file
Mar 17, 2017
1c64b80
fix: correct scope for native requestIdleCallback
Mar 20, 2017
16b1f3f
fix: add cancelIdleCallback polyfill
Mar 20, 2017
20af7fc
fix: clear pending callbacks to prevent multiple DOM writes
Mar 20, 2017
87390d2
fix: export requestIdleCallback
Mar 20, 2017
ba4d84b
fix: track attributes using attributeKeys
Mar 20, 2017
5acc27e
test: make tests asynchronous & update grammar
Mar 20, 2017
739d290
chore: improve warnings / errors
Mar 20, 2017
f06ec06
chore: update dev dependencies
Mar 20, 2017
70c1eb8
fix: throw on invalid string as child
Mar 20, 2017
7bf33b0
chore: update config
Mar 20, 2017
1b30cba
chore: update karma.config.js
Mar 20, 2017
1464c24
test: fallback if mappedState is undefined
Mar 20, 2017
c9db6a3
Merge branch 'master' into feature/request-idle-callback
Mar 21, 2017
d7c2260
fix: avoid unnecessary DOM writes
Mar 21, 2017
7b06c91
feat: opt out of string encoding
Mar 21, 2017
fff0ee5
chore: update documentation
Mar 21, 2017
179221b
chore: add note on backward compatibility
Mar 21, 2017
2929418
test: check for invalid self-closing tags
Mar 21, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 51 additions & 24 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,28 +1,55 @@
{
"presets": [
[
"latest",
{
"es2015": {
"modules": false
}
"env": {
"commonjs": {
"presets": [
["env", {
"targets": {
"browsers": ["last 1 versions", "ie >= 10"]
},
"modules": "commonjs",
"loose": true,
"useBuiltIns": true
}]
],
"plugins": [
"transform-export-extensions",
"transform-class-properties",
"transform-object-rest-spread",
"transform-remove-strict-mode"
]
},
"test": {
"plugins": [
["istanbul", {
"exclude": [
"**/node_modules/**",
"**/packages/**",
"**/test/**",
"**/Test*"
]
}],
"transform-export-extensions",
"transform-class-properties",
"transform-object-rest-spread",
"transform-remove-strict-mode"
]
}
],
"react",
"stage-0"
},
"presets": [
["env", {
"targets": {
"browsers": ["last 1 versions", "ie >= 10"]
},
"modules": false,
"loose": true,
"useBuiltIns": true
}],
"react"
],
"env": {
"commonjs": {
"plugins": [
"add-module-exports",
[
"transform-es2015-modules-commonjs",
{
"loose": true,
"strict": false
}
]
]
}
}
"plugins": [
"transform-export-extensions",
"transform-class-properties",
"transform-object-rest-spread",
"transform-remove-strict-mode"
]
}
Loading