Skip to main content

Category CRUD Actions

Premium
15 min read

Next, we need a way to manage the categories. For that, we will create all the missing actions:

  • Create Action
  • Edit Action
  • Delete Action
  • Add Icons to the Categories List

Here's what this will look like:


Edit Action and List Buttons

Let's start with the Edit Button. For this, we will need...

The Full Lesson is Only for Premium Members

Want to access all of our courses? (30 h 21 min)

You also get:

55 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

J
jrecio ✓ Link copied!

Argument of type '/categories/${string}' is not assignable to parameter of type 'RelativePathString | ExternalPathString | "/sign-in" | /sign-in?${string} | /sign-in#${string} | "/sign-up" | /sign-up?${string} | /sign-up#${string} | "/(app)" | "/(app)/categories/id" | ... 19 more ... | { ...; }'.ts(2345)

Got this error from this line:- router.push(/categories/${category.id});

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.