Relative Content

Tag Archive for reactjsremix.run

How can I work with a subfolder in a remix route

The bounty expires in 5 days. Answers to this question are eligible for a +150 reputation bounty. Bob5421 is looking for an answer from a reputable source. I have create a remix project with this command: npx create-remix project1 I have create this folder: “project1/app/routes/customer/” I have create these 2 files: project1/app/routes/customer/index.tsx: export default function […]

Click Selection in React and Remix

I have two button component. Each of the button component has its own button submit. There can only be one button component to be selected. Do i need to attach an onClick on each button and set the selected button to a state? I wonder what’s the recommended way of doing this in Remix?

Click Selection in React and Remix

I have two button component. Each of the button component has its own button submit. There can only be one button component to be selected. Do i need to attach an onClick on each button and set the selected button to a state? I wonder what’s the recommended way of doing this in Remix?

Selection of Card Element Using the Remix and React

I’m not sure if this is correct but I’ve wanted the Remix way of doing selection in my card components. I have two card component and they are clickable. You only need to choose one of them. I’m not sure how can I do it in the Remix way – without using useState and onClick. Is that possible?

Loading More Data in React Remix using Fetcher

I have a list of products that needs to be displayed on page load and/or after adding it in a form. Also the list has a “load more” button that can fetch more data when clicked. What’s the proper way to do that in Remix? I added a fetcher.load but seems its not reflecting the changes on the list UI

Remix layouts across multiple pages

I am trying to create a layout for a dashboard that will always have the same sidebar and header. The only thing that should change on every page of the dashboard is the main content area.