We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Component-level Actions the body of function OnMount is incorrect
OnMount
func (h *hello) OnMount(ctx app.Context) { ctx.Handle("greet") // Registering action handler. }
It should be
func (h *hello) OnMount(ctx app.Context) { ctx.Handle("greet", handleGreet) // Registering action handler. }
The text was updated successfully, but these errors were encountered:
Correction. Code should be
func (h *hello) OnMount(ctx app.Context) { ctx.Handle("greet", h.handleGreet) // Registering action handler. }
Sorry, something went wrong.
No branches or pull requests
In Component-level Actions the body of function
OnMount
is incorrectfunc (h *hello) OnMount(ctx app.Context) { ctx.Handle("greet") // Registering action handler. }
It should be
func (h *hello) OnMount(ctx app.Context) { ctx.Handle("greet", handleGreet) // Registering action handler. }
The text was updated successfully, but these errors were encountered: