const isSent = false;
git commit -m 'feat: dark mode contact'
const { name, value } = event.target;
class ContactForm extends Component {
yarn add formik
const isSent = false;
docker exec -it container bash
border: 1px solid var(--border-color);
git commit -m 'feat: dark mode contact'
const api = '/contact/submit';
export default function ContactPage() {
Promise.reject('Failed')
yarn add formik
.then(res => res.ok ? showSuccess() : showError())
class ContactForm extends Component {
<label htmlFor='email'>
<label htmlFor='email'>
border: 1px solid var(--border-color);
import { useState } from 'react';
useState(() => { setStatus('idle') })
const api = '/contact/submit';
Promise.reject('Failed')
.then(res => res.ok ? showSuccess() : showError())
console.log('Form submitted.');
useState(() => { setStatus('idle') })