Gabriel Bianchi

Results 51 comments of Gabriel Bianchi

I need this as well...

Related to this https://github.com/TanStack/table/issues/4142 As mentioned in the issue above, here's the solution: https://github.com/TanStack/table/pull/4185 `const columnHelper = createColumnHelper()` Since the docs are all in typescript, maybe would be good to...

I don't understand. How can I preemptively generate a cuid() ? Before hitting the database? Can I use https://github.com/paralleldrive/cuid2 ?

Sorry, isn't this related to [React Strictmode?](https://legacy.reactjs.org/docs/strict-mode.html)

Oh I see. Thought you were using it in your own app @0xdhrv

This is related to an eslint error. Check the use-toast.ts file and change line: `interface Toast extends Omit {}` To `type Toast = Omit` @shadcn Do you think there is...

@shadcn Also, there is a comon ESLint rule called consistent-type-imports ![image](https://user-images.githubusercontent.com/17372417/235937647-0643a5e8-9743-417c-b759-61369d418312.png) ![image](https://user-images.githubusercontent.com/17372417/235937819-713be17a-99fb-436e-8ed8-5d9749305c89.png) I can also create dedicated PR in case it interests you to satisfy this eslint rule.

@tanjunior I don't think changing it to type will break anything

Yes, I am trying to make this work... I've done everything, but I can't get the DataTable component columns prop to accept my columns generated by createColumnHelper. Here's what I...