ForRoute

japgolly.scalajs.react.extra.internal.RouterMacros$.ForRoute
trait ForRoute[A]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Route[A]
Self type
Route[A]

Members list

Value members

Concrete methods

inline def caseClass[B <: Product](using m: ProductOf[B]): Route[B]

Maps the captures values of the route to a case class.

Maps the captures values of the route to a case class.

Attributes

inline def caseClassDebug[B <: Product](using m: ProductOf[B]): Route[B]

Same as caseClass except the code generated by the macro is printed to stdout.

Same as caseClass except the code generated by the macro is printed to stdout.

Attributes