Comments (3)
useFormSate
is the old function used by react, please update it in next.js document.
It is useActionState
for now!
from next.js.
Hey @Iwan-LMX, ah I see, looks like react.dev has a redirect from useFormState
to useActionState
But your point is valid, we've updated the name in the Next.js 15 RC docs, these changes will be merged into the main docs once version 15 is stable.
from next.js.
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
from next.js.
Related Issues (20)
- CSP with nonce does not work for page router
- Turbopack doesn't correctly handle catch-all segments in nested route groups
- Server Actions that are hybrid types are compiled to `{}` causing `TypeError`
- Rechart breaks in Nextjs 15-rc.0
- Error boundaries ignored in Production with `dynamicParams = true` HOT 1
- Build fails when object keys contain Japanese middle dots(・) in v14.2
- Latest starter-example project is containing invalid package references. HOT 2
- Impossible to use worker_thread (server side) due to wrong path
- Unexpected Caching Behavior with revalidate in Next.js
- Nested intercepted routes fail
- Draft Mode does not work in Middleware
- Route group as a root of dynamic route shows 404 HOT 1
- Build issue with subpath imports of internal "compiled" package
- OOMKill is hidden during docker-based next build, build appears successful but isn't. HOT 1
- Generating static pages (0/6) [= ]G [AggregateError]
- RSC Fetch Logging deduplicates requests if they share the same URL, even if POST bodies are different
- ### Goals HOT 1
- expect is not defined when running next.js with Jest
- Css and JS file not work when I deploy nextjs to vercel, I don't know what happened?
- Issue compiling server component as prop in child component HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next.js.