qwik icon indicating copy to clipboard operation
qwik copied to clipboard

deprecate `preventDefault()`

Open brunocrosier opened this issue 3 years ago • 1 comments

What is it?

  • [x] Feature / enhancement
  • [ ] Bug
  • [ ] Docs / tests

Description

Instead of removing preventDefault() from the event type entirely, this will provide guidance on how to achieve the intended result by using the preventdefault:{event} attribute

Screenshot

image

brunocrosier avatar Oct 23 '22 20:10 brunocrosier

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@manucorporat may i hand this over to u?

zanettin avatar Feb 25 '23 20:02 zanettin

We decided to not even include preventDefault() at all in the type! Even more strict than deprecated!

manucorporat avatar Jun 30 '23 17:06 manucorporat