Skip to content

Commit

Permalink
#81 Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ingesolvoll committed Dec 5, 2019
1 parent a5fb960 commit 18a29e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ the route.

If you provide `:root-component`, kee-frame will render that component in the DOM element with id "app". Make sure you have such an element in your index.html. You are free to do the initial rendering yourself if you want, just skip this setting. If you use this feature, make sure that `k/start!` is called every time figwheel reloads your code.

The `debug` boolean option is for enabling debug interceptors on all your events, as well as traces from the activities of controllers.
The `debug?` boolean option is for enabling debug interceptors on all your events, as well as traces from the activities of controllers.

For further control of debug output, use the `debug-config` option. Valid boolean keys are `:routes?`, `events?`, `:controllers?` and `:overwrites?`. All default to true,
except `:overwrites?`. That one also removes the re-frame warnings about overwriting subs and events, which many find annoying.

If you provide an `app-db-spec`, the framework will let you know when a bug in your event handler is trying to corrupt your DB structure. This is incredibly useful, so you should put down the effort to spec up your db!

Expand Down

0 comments on commit 18a29e3

Please sign in to comment.