jsMain.react.router.useLocation.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-react-router-dom-legacy-js
Show all versions of kotlin-react-router-dom-legacy-js
Kotlin wrapper for React Router DOM library
// 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 - 2025 Weber Informatics LLC | Privacy Policy