I want to use registerForIntl() with a functional compoent - React.SFC . How can I do that? registerForIntl expecs React.Component? How can I use intl functions in a React.SFC?
3 Answers, 1 is accepted
answered on 04 Oct 2019, 06:48 AM
We made a method that will do the same for functional components. It is called "useInternationalization".
Currently, it is still not documented as we made it for internal use, but it is available for import.
If there is any issue after using it, please let me know.
Also, useLocalization is the alternative to registerForLocalization.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.