v1.0.0
v1.0.0
- Pass through props from the return value of
makeAuthenticator
. @chriskolenko - Fixed for vulnerabilities in
- lodash
- react-dom
Note that the pre-release changes in
v0.4.0-alpha.0
are not present in this release.
[Breaking Changes]
makeAuthenticator
now expects a reference to the component to be wrapped, rather than the instance itself:
// Before:
const AppWithAuth = makeAuthenticator({
... config
})(<App />)
// After:
const AppWithAuth = makeAuthenticator({
... config
})(App)
This allows for the props specified in <AppWithAuth {...props} />
to be passed down to App
.