Learnings
New Learning
About The App
Hire Me
Writing Samples
Edit Learning
Title
Body
Context: We discussed the purpose of `data-turbo-confirm` attribute. Explanation: It's a Hotwire/Turbo HTML attribute (`data-turbo-confirm="Are you sure?"`) that automatically triggers a browser confirmation dialog before executing a link click or form submission. Use Case: Commonly used for destructive actions (like deletion) to prevent accidental clicks. Learning: I learned to utilize standard Hotwire/Turbo attributes for common UX patterns like confirmation dialogs with minimal effort.
Learned on (YYYY-MM-DD)
Tags
Add comma-separated tags. They help filter learnings later.
Back to Learnings