playkit-js-ui
playkit-js-ui copied to clipboard
feat(FEC-7681): support dynamic translations changes
Description of the Changes
- move root component to its own App component for better isolation
- move i18n provider to player GUI which is the root of the actual visible tree
- force update of entire tree on locale change to force components which are never changed to re-render
CheckLists
- [ ] changes have been done against master branch, and PR does not conflict
- [ ] new unit / functional tests have been added (whenever applicable)
- [ ] test are passing in local environment
- [ ] Travis tests are passing (or test results are not worse than on master branch :))
- [ ] Docs have been updated