forge42dev / Remix-Forge

VS Code extension that allows you to generate configurable Remix code
MIT License
78 stars 6 forks source link

Is there any appetite to support yesmeck/remix-routes? #22

Open grunklejp opened 3 months ago

grunklejp commented 3 months ago

Background: remix-routes package codegens you a typesafe method $path that you can use for typesafe routing. In addition to this you can give your route typesafe search params by exporting a SearchParams type.

A couple of awesome things this could enable:

  1. trigger a route:build script directly from the SearchParams object in the route file.
  2. Add the the search params type to the list of options to generate for the route.
AlemTuzlak commented 1 month ago

this would be pretty cool to add but I haven't really looked into the package deeply, I would welcome a contribution, otherwise I'll try to get to it, but no promises