Releases: okwolf/hyperapp-logger
Releases · okwolf/hyperapp-logger
0.6.0
0.5.0
Breaking changes
window.logger
=>window.hyperappLogger.withLogger
logger
=>{ withLogger }
- import logger from "@hyperapp/logger"
+ import { withLogger } from "@hyperapp/logger"
- logger(options)(app)(state, actions, view, document.body)
+ withLogger(options)(app)(state, actions, view, document.body)
What's new?
Use the logger without options:
withLogger(app)(state, actions, view, document.body)
instead of
withLogger(options)(app)(state, actions, view, document.body)