japgolly.webapputil.entrypoint

Type members

Classlikes

final case class EntrypointDef[Input](objectName: String)(implicit _codec: Codec[Input])
Companion:
object
Companion:
class
Companion:
class
final class EntrypointInvoker[Input](defn: EntrypointDef[Input])
Companion:
object
final case class Html(asString: String) extends AnyVal
Companion:
object
object Html
Companion:
class
final case class Js(asString: String) extends AnyVal
Companion:
object
object Js
Companion:
class
object LoadJs

Allows for loading resources after the page has been rendered, uses loadjs (https://github.com/muicss/loadjs).

Allows for loading resources after the page has been rendered, uses loadjs (https://github.com/muicss/loadjs).

This allows resource-heavy pages to load quickly and render "Loading" to the user, before loading and parsing all the resources and initialising the SPA.

Usage: Create a LoadJs.Bundle and pass it to EntrypointInvoker.