Interface ChildrenCallback<T, R, C>

A function that dynamically creates children of a route.

The route children callback is deprecated and will be removed in the next major version.

Type Parameters

  • T

    The type of the result produced by the route.

  • R extends object

    The type of additional route-specific data. Defaults to an empty object.

  • C extends object

    The type of user-defined context-specific data. Defaults to an empty object.