FunctionsuseChaynsHistoryHashuseChaynsHistoryHash CallableuseChaynsHistoryHash(): [string, (hash: string, opts?: ChaynsHistoryNavigationCommitOptions) => void]Returns the current hash fragment (without #) and a setter for the nearest ChaynsHistoryLayer. Pass '' to explicitly clear the hash. Re-renders only when the hash changes.Returns [string, (hash: string, opts?: ChaynsHistoryNavigationCommitOptions) => void]
Returns the current hash fragment (without
#) and a setter for the nearest ChaynsHistoryLayer. Pass''to explicitly clear the hash. Re-renders only when the hash changes.