Vinicius Dacal

Results 10 comments of Vinicius Dacal

Just had this same idea and I'm so glad someone already open an RFC for it. Just giving my 2 cents, I imagine we could use `React.useState`, adding an additional...

Hey @difagume. What triggers the validation in this case is blurring the input. You can either pass `validateOnBlur={false}` to Formik or remove `autoFocus` from your input.

you should probably provide path: '/' with the options when reading the cookie: ```ts parseCookies(isServer ? ctx : {}, { path: '/' }).testCookie ```

Btw, I love this component! It's simple and easy to understand.

@gautier-lefebvre Thanks for your advice. Indeed, that would work! But I think, as we already have a loader in the component, let's make it work properly.

I created a wrapper component that accepts the isLoading props. Then, instead of using react-infinite-scroller directly, I just use my wrapper: ```jsx import React, { Component } from 'react'; import...

For zod v4 specifically, there's [an option](https://zod.dev/json-schema?id=reused) to thread reusable components as refs. Perhaps, `createZodDto` could use as the default behavior? ```ts z.toJSONSchema(User, { reused: "ref" }); ```