the-platform
GitHub describes it as Web. Components. 😂. The repository metadata lists TypeScript as its primary language. The metadata lists the MIT license. This article stays within the project description and details documented in the GitHub repository README.
jaredpalmer/the-platform: useGeoPosition()
GitHub describes it as Web. Components. 😂. The repository metadata lists TypeScript as its primary language. The metadata lists the MIT license. This article stays within the project description and details documented in the GitHub repository README.
Repository scope
GitHub describes it as Web. Components. 😂. The repository metadata lists TypeScript as its primary language. The metadata lists the MIT license. The README describes the project this way: Retrieve Geo position from the browser. This will throw a promise (must use with Suspense).
useMedia()
The README section "useMedia()" states: query: string | object : media query string or object (parsed by json2mq). defaultMatches: boolean : a boolean providing a default value for matches
useStylesheet()
The README section "useStylesheet()" states: - href: string : The stylesheet's URI. - media?: string : Intended destination media for style information.
useWindowScrollPosition()
The README section "useWindowScrollPosition()" states: - x: number : Horizontal scroll in pixels ( window.pageXOffset ). - y: number : Vertical scroll in pixels ( window.pageYOffset ).
Editorial conclusion
The repository README is the source for this review. It does not replace a local installation or an independent test.
Community notes