I’ve been using this helper function for over a year now. It gives me fully typed URLs and makes it dead simple to change routes in one place. Need to update a path? Every caller is strongly typed and instantly traceable.
1 likes 0 replies
?
I’ve been using this helper function for over a year now. It gives me fully typed URLs and makes it dead simple to change routes in one place. Need to update a path? Every caller is strongly typed and instantly traceable.
1 likes 0 replies