turbosnake/_hooks.py
def use_callback_proxy(callback):
    """Hook that returns the same callable redirecting calls to callback passed on last render.

    Unlike use_callback doesn't accept any dependencies 'cause doesn't need them.

    cb1 = use_callback_proxy(lambda ...: ...)

    @use_callback_proxy
    def cb2(...):
        ...
    """
    return ComponentHookProcessor.current().process_hook(_CallbackProxyHook, callback)
Hook that returns the same callable redirecting calls to callback passed on last render.

    Unlike use_callback doesn't accept any dependencies 'cause doesn't need them.

    cb1 = use_callback_proxy(lambda ...: ...)

    @use_callback_proxy
    def cb2(...):
        ...
    
Hook that returns the same callable redirecting calls to callback passed on last render.
Unlike use_callback doesn't accept any dependencies 'cause doesn't need them.




Hook that returns the same callable redirecting calls to callback passed on last render . Unlike use_callback doesn ' t accept any dependencies ' cause doesn ' t need them .
def use_callback_proxy(callback):
    return ComponentHookProcessor.current().process_hook(_CallbackProxyHook, callback)
def use_callback_proxy ( callback ) : return ComponentHookProcessor . current ( ) . process_hook ( _CallbackProxyHook , callback )
Hook that returns the same callable redirecting calls to callback passed on last render.
Hook that returns the same callable redirecting calls to callback passed on last render .
"""Hook that returns the same callable redirecting calls to callback passed on last render.

    Unlike use_callback doesn't accept any dependencies 'cause doesn't need them.

    cb1 = use_callback_proxy(lambda ...: ...)

    @use_callback_proxy
    def cb2(...):
        ...
    """
callback