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

Adds function to simplify creating new event types #779

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 8, 2023

  1. Adds function to simplify creating new event types

    Adds the function reg-event to re-frame.core which takes a handling interceptor
    instead of a handler as its last argument. This makes it easier to create event
    registering functions with all standard interceptors added to the chain,
    even if changes are made to the standard interceptor chain.
    
    reg-event-db, -fx and -ctx now wrap reg-event, passing their interceptor wrapped handlers.
    Sardtok committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    90a15b7 View commit details
    Browse the repository at this point in the history