install a plugin that will allow you to connect with PostgreSQL. And then use the credentials like user name, password, db name etc to connect. Hope this Helps
Why is it that when using Button it will show error to enforce some prop i dont need to add Type '{ children: string; type: "button"; }' is missing the following properties from type 'Pick<ButtonProps, "children" | "color" | "disabled" | "translate" | "form" | "slot" | "style" | "title" | "onChange" | "onClick" | "className" | "value" | "key" | "autoFocus" | ... 259 more ... | "loading">': placeholder, onPointerEnterCapture, onPointerLeaveCapturets(2739) (alias) const Button: ForwardRefExoticComponent<Pick<ButtonProps, "children" | "color" | "disabled" | "translate" | "form" | "slot" | "style" | "title" | "onChange" | "onClick" | "className" | "value" | "key" | ... 260 more ... | "loading"> & RefAttributes<...>>
Got a problem here when making the provider file it seems that the children is highlited red and give out an error of Binding element 'children' implicitly has an 'any' type.ts(7031)
Hi. I'm getting an error. Error: Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported. It posts to the database on submit, but then throws the error. It doesn't indicate which component is causing the problem.
I think you are passing unserializable data. react.dev/reference/rsc/use-server#serializable-parameters-and-return-values If you are passing a mongoose response try calling to `toObject` method. i.e `blog.toObject()`
@@CulesCoding Hi. Thanks for getting back. I think it is caused by "return newPost.save();" in the action file. It replicates what you did, so I don't know why it's giving me an error and not you!
This is the library that I was looking for, not the low-level Tailwind CSS that everybody is telling us to learn! Mantine is so high level that allows you to build something great quickly, yet let you customize the low-level CSS details when someone needs them. It is just PERFECT!
@@CulesCoding I have another question, I always been trying to get data from “Users/uid” the uid is of course a actually generated uid , but the problem is that I have been trying to get the uid or any user data in that node in realtime database but all it does is return my uid in the console log
Great explanation of the Next UI. This video is very informative and easy to follow. I have just subscribed to your channel to stay updated with more content like this. Please keep up the awesome work.
Can't say anything for sure. but make sure: 1. You have updated the tailwind config 2. Added the provider to your app And always follow the documentation.
sorry for the late reply. If you want to have pagination or infinite scroll, you need to use client components and query cursors. Because Firestore doesn't support offset values. At least in client side libraries. Hope it helped.🙂
Well not entirely. Both of them are styled with Tailwind but Next UI abstracts way the complexity. And Shadcn allows you to copy paste the component and gives you full control over the component.
@@eliezerabrahamontiverosoje2165 Well I have explained the ways you can change styles in the video. For example, you can use styles API to change the styles for modal header. mantine.dev/core/modal/?t=styles-api