- install dnsmasq
$ brew install dnsmasq
...
$ cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
- edit
/usr/local/etc/dnsmasq.conf
address=/local/127.0.0.1
$ brew install dnsmasq
...
$ cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
/usr/local/etc/dnsmasq.conf
address=/local/127.0.0.1
import { | |
useForm as useHookForm, | |
UseFormProps as useHookFormProps, | |
} from "react-hook-form"; | |
import { zodResolver } from "@hookform/resolvers/zod"; | |
import { TypeOf, ZodSchema } from "zod"; | |
interface UseFormProps<Z extends ZodSchema> | |
extends Exclude<useHookFormProps<TypeOf<Z>>, "resolver"> { | |
schema: Z; |
Why another tutorial? Because there are other tutorials which write a server - client or maybe a client client where they have only two clients, maybe by hardcoding ips.
<rant>
What annoys me more is, that there are 100's of same tutroials on the internet,
that just works for a given scenario, but guess what, I don't fucking care what works