Add documentation for legacy App files

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-17 21:34:18 +00:00
parent d4512a3e98
commit 716e38a324
2 changed files with 18 additions and 0 deletions

View File

@@ -1,3 +1,12 @@
/**
* LEGACY FILE - NOT USED IN PRODUCTION
*
* This file is a legacy demo app that is not actively used.
* The JSON components used here manage their own state internally via hooks (e.g., useKV)
* and don't accept props like the old stub components did.
*
* The production app (App.tsx) uses the component registry pattern instead.
*/
import { useState } from 'react'
import { toast } from 'sonner'
import { Tabs, TabsContent } from '@/components/ui/tabs'

View File

@@ -1,3 +1,12 @@
/**
* LEGACY FILE - NOT USED IN PRODUCTION
*
* This file is a legacy demo app that is not actively used.
* The JSON components used here manage their own state internally via hooks (e.g., useKV)
* and don't accept props like the old stub components did.
*
* The production app (App.tsx) uses the component registry pattern instead.
*/
import { useState } from 'react'
import { useKV } from '@/hooks/use-kv'
import { Tabs, TabsContent } from '@/components/ui/tabs'