francisconeves97 / react-google-forms-hooks

Build a UI for your Google Forms using React.
https://francisconeves97.github.io/react-google-forms-hooks/
31 stars 10 forks source link

Remove slugify dependency #7

Open francisconeves97 opened 2 years ago

francisconeves97 commented 2 years ago

This library uses slugify to generate the ids for fields. It should be simple to implement a less flexible but simpler helper to perform the same functionality as slugify. This way we can improve the bundle size.

Suggested in #1

dohomi commented 2 years ago

@francisconeves97 react 18 ships useId hook which might be a good way of handling this