qwik
qwik copied to clipboard
deprecate `preventDefault()`
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

Run & review this pull request in StackBlitz Codeflow.
@manucorporat may i hand this over to u?
We decided to not even include preventDefault() at all in the type! Even more strict than deprecated!