readFormData(event) is deprecated? #2351
Unanswered
Bernardusz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am learning Analog.js and looked up on the official documentation in https://analogjs.org/docs/guides/forms about Server Action Form.
Not only I got
Argument of type 'import("/home/bernardus/projects/web/kanban-board/frontend/node_modules/.pnpm/h3@1.15.11/node_modules/h3/dist/index").H3Event<import("/home/bernardus/projects/web/kanban-board/frontend/node_modules/.pnpm/h3@1.15.11/node_modules/h3/dist/index").EventHandlerRequest>' is not assignable to parameter of type 'import("/home/bernardus/projects/web/kanban-board/frontend/node_modules/.pnpm/h3@2.0.1-rc.22/node_modules/h3/dist/h3").r<import("/home/bernardus/projects/web/kanban-board/frontend/node_modules/.pnpm/h3@2.0.1-rc.22/node_modules/h3/dist/h3").D>'. Type 'H3Event<EventHandlerRequest>' is missing the following properties from type 'H3Event<EventHandlerRequest>': url, runtimeI also got a message saying
'readFormData' is deprecated.Am I doing something wrong with my environment setup, or are the documentation examples currently out of sync with recent core dependency updates?
Thank you for the help 🐧!
All reactions