All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.react.router.useLocation.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:JsModule("react-router")
@file:JsNonModule

package react.router

/**
 * Returns the current location object, which represents the current URL in web
 * browsers.
 *
 * Note: If you're using this it may mean you're doing some of your own
 * "routing" in your app, and we'd like to know what your use case is. We may
 * be able to provide something higher-level to better suit your needs.
 *
 * @see https://reactrouter.com/docs/en/v6/api#uselocation
 */
external fun useLocation(): history.Location




© 2015 - 2024 Weber Informatics LLC | Privacy Policy