It's 2024. You should use tsup instead of this.
🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs
bundle
✨ .d.ts
bundle + type-checking
function CreateTodoButton() { | |
const submit = CreateTodoAction.useSubmit() | |
const isSubmitting = CreateTodoAction.useSubmissions().length > 0 | |
const params = useParams() | |
return ( | |
<button | |
type="button" | |
title="Create Todo" | |
disabled={isSubmitting} |
It's 2024. You should use tsup instead of this.
🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs
bundle
✨ .d.ts
bundle + type-checking