DEV Community

loading...

Discussion on: Building an i18n translator using React

Collapse
bernardbaker profile image
Bernard Baker

I like the idea. It's handy. Would you consider updating it to React hooks?

Collapse
reflexgravity profile image
Joel D Souza Author

I have created and added a new hooks version above.

Collapse
bernardbaker profile image
Bernard Baker

Apologies, I was thinking of custom hooks.

Thread Thread
reflexgravity profile image
Joel D Souza Author

Interesting... you want me to create a hook that returns the translated word?

Thread Thread
bernardbaker profile image
Collapse
reflexgravity profile image
Joel D Souza Author

Yeah, sure. I can create a new sandbox with the hooks version.