Skip to content

Releases: okwolf/hyperapp-logger

0.6.0

04 Feb 06:41
Compare
Choose a tag to compare

What's new?

Hyperapp 2 support! 🔥

0.5.0

05 Mar 08:10
Compare
Choose a tag to compare

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)