Skip to content

Commit

Permalink
docs(main.jsx): Add information about react-scan usage
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenybai committed Dec 28, 2024
1 parent 5069840 commit 4c25e36
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions kitchen-sink/src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,20 @@ export default function Main() {
or apps that use your code.
</Text>
</div>
<div className="mt-[1ch]">
<Text className="text-xs">
we use this project interally in{" "}
<Link href="https://github.com/aidenybai/react-scan">
react-scan
</Link>
, which is deployed in development and production. we use this
package "safely" by ensuring that it is only used in development,
and when it is deployed to production, it is removed from the
bundle or properly error guarded. if you're planning to use this
project outside of tinkering, please read over react-scan's source
code to see how we safeguard usage.
</Text>
</div>
</div>
</SideLayout>
</>
Expand Down

0 comments on commit 4c25e36

Please sign in to comment.