-
Basically, I have a search like function, where a user can be selected. export type User = {
id: number;
name: string;
}; Now obviously I don't want to store this in the URL as-is, but rather only the Using: nextjs 14 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Where would the "name" property come from when recomposing the object just from an ID? |
Beta Was this translation helpful? Give feedback.
Well I guess I could do a little wrapper too, and that would solve my issue pretty much:
I did have this solution in mind, but I just tunnel visioned on using the parser...
But this should be quite sufficient too.