Conversation
* Fix sub page sidebar * Update package.json
* Fix sub page sidebar * Update package.json
Document the newly added hooks with focused usage examples and standalone copy-paste implementations. Update generated sidebar metadata so new function pages appear in navigation.
Update the docs lockfile metadata after dependency installation so local and CI environments resolve the same package graph.
Show a clear import strategy block on all documentation pages so users can choose direct per-hook imports for smaller bundles. Add practical examples for direct and named imports with bundler-oriented guidance.
* docs(functions): move category filters to route pages and refresh hook docs * feat(docs): central hook catalog, home SSR snapshot, layout polish Single source in docs/.vitepress/data/hookCatalog.ts drives Core Functions sidebar and HomeHookShowcase. Add HomeSsrSnapshot from ssr-support.json with link to SSR safety. VPFeatures grid-4 uses four columns from 1280px only. Expand home features and contributing checklist. Planned next: CI link check on built site; optional StackBlitz templates for demoUrl; changelog on package releases. * docs(home): React logo, palette refresh, drop SSR snapshot - Add hero image with public react-logo.svg and hide default blurred image-bg\n- Retheme neutrals (light/dark), code block tints, and gray scale\n- Remove HomeSsrSnapshot from home and theme registration\n- Mention React 19 alongside 17 and 18 in the Built for modern React feature * feat(docs): SEO helpers, How-to guide, and GA4 behind cookie consent Add per-page meta and JSON-LD via transformHead, sitemap and robots tooling, a How-to guide with FAQ, frontmatter descriptions across guides and hooks, and a bottom-right consent banner that loads gtag only after OK. Fix enhanceApp to avoid VitePress router.isReady (not on the custom router). * chore: Prettier, CI, and stop tracking VitePress cache Add EditorConfig, Prettier config and scripts, GitHub Actions for format check and docs build, CONTRIBUTING, and ignore docs/.vitepress/cache. Apply Prettier to theme, utils, and docs; remove generated cache from git. * fix(deploy): pin Node 20 for Vercel and add vercel.json Vercel discontinued Node 18.x; declare engines and .nvmrc so installs use Node 20.x. Add vercel.json with install/build commands and VitePress output directory. Document dashboard override in CONTRIBUTING. * fix(build): skip export-size when use-react dist is absent Vercel and GitHub Actions only clone use-react-docs; predocs:build no longer fails when ../use-react/dist/esm/hooks is missing. Document the behavior in CONTRIBUTING.
Align CI and engines with supported GitHub-hosted runner defaults.
Describe setup, scripts, repo layout, deployment, and link to use-react. Include README.md in Prettier format scripts.
Describe setup, scripts, repo layout, deployment, and link to use-react. Include README.md in Prettier format scripts.
Describe setup, scripts, repo layout, deployment, and link to use-react. Include README.md in Prettier format scripts. Made-with: Cursor
Updated GitHub funding configuration to include a specific username.
Point State, Elements, Browser, and other catalog groups to their /functions/* overview URLs.
Point State, Elements, Browser, and other catalog groups to their /functions/* overview URLs. Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Made-with: Cursor
Made-with: Cursor
…into add-demo Made-with: Cursor # Conflicts: # docs/.vitepress/config.mts # docs/.vitepress/data/hookDemoSubtitles.ts # docs/.vitepress/theme/components/HomeBottomCta.vue # docs/.vitepress/theme/components/HomeHookShowcase.vue # docs/.vitepress/theme/components/HookLiveDemo.vue # docs/.vitepress/theme/react-demos/useStorage.basic.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.