remix-params-helper
remix-params-helper copied to clipboard
Improvements
This PR fixes and improves the existing code. The changes made include:
- Type and import corrections to match the latest Zod specifications.
- Fixing error handling and value retrieval in the
getParamsInternal
function. - Fixing form data retrieval in the
getFormData
andgetFormDataOrFail
functions. - Improving function typing and return values.
- Code optimizations and cleanup.
I have tested the modifications locally, and they appear to be working correctly. Please review the changes and merge the PR if everything looks good.
Thanks! I'll take a look.