-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Server action can't find variable #712
Comments
This is solved in 0.2.4-canary.1 |
Still not working when there is async operations in the component. so if you do lala will not be found in the server action. |
|
No, it is not used in the server action. However If I use lala in the server actions works as expected. |
At what point does it crash? when executing the server action? or after the execution of the server action before returning the response? |
Crashes when executing the action |
Ok, we are going to prioritize this one |
Describe the bug
A server action can't find a variable that is not declared on the server action. For example:
I declare in the component a variable named lala. Then this variable is used in the render but not on the server action. Server action will throw an error saying can't find the variable, even though is not used in the server action.
Should not throw.
The text was updated successfully, but these errors were encountered: