Skip to content

[Docs]: https://reactrouter.com/start/framework/route-module#clientloader #14500

@gchang12

Description

@gchang12

Describe what's incorrect/missing in the documentation

docs/start/framework/route-module.md#212

By using as const, TypeScript will infer that the type for clientLoader.hydrate is true instead of boolean.

I'm pretty sure that true is a value, not a type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions