Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing unnecessary useEffect #823

Closed
wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 14, 2023

It is recommended by the React Docs to avoid unnecessarily changing the state within a useEffect.

Copy link

vercel bot commented Nov 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
app-dir-css-in-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
app-dir-i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
app-dir-share-state ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-api-routes-cache-control ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-api-routes-hello-world ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-api-routes-json-response ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-api-routes-query-parameters ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-functions-authed-proxy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-functions-cookies ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-functions-news ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-functions-streams ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-geolocation-country-block ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-middleware-modify-request-header ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
edge-user-agent-based-rendering ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
example-auth-with-ory ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
example-reduce-image-bandwidth-usage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
examples ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
geolocation-script ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
next-edge-api-route-hello-world ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
next-flask ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
nodejs-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
redirect-with-fallback ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-combining-data-fetching-strategies ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-image-fallback ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-image-offset ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-loading-web-fonts ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-microfrontends ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-microfrontends-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-pagination-with-ssg ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-reuse-responses ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-script-component-ad ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-script-component-strategies ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
solutions-testing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
wasm-rust-hello-world ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am
wasm-rust-xor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:13am

Copy link

vercel bot commented Nov 14, 2023

@odin-nido is attempting to deploy a commit to the Vercel Examples Team on Vercel.

A member of the Team first needs to authorize it.

@ghost ghost closed this by deleting the head repository Oct 23, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant