useState not retaining the values while using the same common form for register and login using selective rendering
I am trying to use a common form component for the Register and Login section, I am using Tabs (register and login). when I store data “name” in the register state and then switch the tab to login and then come back then the registered state variable is wiped clean.
Shadcn-UI throws SSL exception when trying to init
I am having the following issue, when trying to install shadcn on a React project.
Prevent Redirection in ReactJS
I’m using shadcn/ui
in my React Remix app, and I’m trying to prevent it from redirecting to another page when I click to open a dialog. Currently, clicking on <a/>
functions correctly, but when I click on , it shouldn’t redirect me; instead, it should simply open the dialog.”