Hi, I'm kinda new to web dev, so please bear with me ๐
I have an overview page for showing all my products. I want to be able to delete products from the db. As of right now, i use a button client component with an onClick event handler that calls a server action. I just read that to fully utilize server actions i would need to call them from a form.
Now to my question: Would wrapping my button inside a form to fully make use of server actions be considered "anti pattern" or simply the wrong way to do it? The form would not take any inputs or textareas but simply signal the intent that the user wants to delete a particular product.