---
title: "Discussion on \"How to keep `this` pointing to the Stencil component with a DOM event?\" | Hashnode"
description: "Discussion on \"How to keep `this` pointing to the Stencil component with a DOM event?\". I'm continuing to play with Stencil.js. This time I'm working with forms. One of the main things we can do with any form is submitting the data. And because we are not going to reload the page, we have to intercept the submit event and do something w..."
url: "https://hashnode.com/posts/stencil-jsx-no-bind/5fb017fc25decf4615018af2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to keep \`this\` pointing to the Stencil component with a DOM event?](https://leechy.dev/stencil-jsx-no-bind?utm_source=hashnode&utm_medium=feed)

I'm continuing to play with Stencil.js. This time I'm working with forms. One of the main things we can do with any form is submitting the data. And because we are not going to reload the page, we have to intercept the submit event and do something w...

Oct 18, 2020 · 4 min read · leechy.dev  
Read the article

-   [#jsx](https://hashnode.com/tag/jsx)

## Written by

[Andrey Lechev](https://hashnode.com/@leechy)

@leechy

  
[View profile](https://hashnode.com/@leechy)

Some frontender thoughts

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
