Re:HTMX is hard, so let's get it right
by zarzavat on Monday August 04, 2025 @07:40AM
(#44784459)
> For example, I have to use a third-party library called react-hook-form to build forms
Why? I've written a lot of React and I've never used this library. In fact, I rarely use any React-focused dependencies except a router, as you say every dependency has a cost especially on the client.
Re:HTMX is hard, so let's get it right
by yladiz on Monday August 04, 2025 @08:47AM
(#44785073)
Although you don’t necessarily need the hook, writing a large form with reasonable performance in React can be tricky, so I can understand why you would go with a hook for that case.
Why? I've written a lot of React and I've never used this library. In fact, I rarely use any React-focused dependencies except a router, as you say every dependency has a cost especially on the client.
React works just fine without dependencies.