iksent
Follow
Pinned Loading
-
[ReactJS hook] Detect Scrolls To Bottom
[ReactJS hook] Detect Scrolls To Bottom 1import { useScrollPosition } from '@n8tb1t/use-scroll-position'
2import { useRef } from 'react'
3import { get } from 'lodash'
45export const useOnEndScroll = (onEnd: () => void, disabled: boolean = false) => {
-
Simplified React Component for SEO
Simplified React Component for SEO 1import React from 'react'
2import Head from 'next/head' // or react-helmet
34const SEO = () => {
5// Fill this object with your data (from i18n / props / hooks / etc.)
-
Number Formatters
Number Formatters 1export const toFixedN = (
2number: number | null | undefined,
3fractionDigits = 8,
4canBeNull = true,
5): string => {
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.