We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would like to support these kinds of features
Like a checked attribute
render() { const { completed, task } = this.todo; const checked = completed ? 'checked' : ''; return ( <input class="complete-todo" type="checkbox" checked/> ); }
To my knowledge, JSX does not support this syntax
<input type="checkbox" {isChecked} />
Would like be able to do something like this
class Todo extends HTMLElement { addTodo(e) { e.preventDefault(); ... this.render(); } render() { return <form onsubmit={this.addTodo}> <input class="todo-input" type="text" placeholder="Food Shopping" required/> <button class="add-todo" type="button" onclick={this.addTodo}>+ Add</button> </form> ); } }
Right now it works, but by accident I think, and seeing this error in the console
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Type of Change
Summary
Would like to support these kinds of features
Details
Boolean Attributes
Like a checked attribute
To my knowledge, JSX does not support this syntax
Form Submission
Would like be able to do something like this
Right now it works, but by accident I think, and seeing this error in the console
The text was updated successfully, but these errors were encountered: