cssreactjssmart-tvbabel-polyfill

How to style my reactjs app running on chrome FreeBSD 23 ?


I am trying to run my reactjs app on Panasonic Vierra Smart Tv browser. I am able to load the webpage after importing core-js and babel-polyfill, but the UI is out of place. The styling is not working as expected. The same UI runs well on chrome on my laptop.


Solution

  • As it turns out, switching from bootstrap 4 to bootstrap 3 solved my problem. Also, some of the newer APIs like fetch are not supported by older browsers. I had to switch back to XMLHttpRequest to make network calls. Everything else, including React(with Typescript) and firebase realtime, works fine.

    I found the following two websites useful:

    1) https://www.whatismybrowser.com/ To check what browser or browser version you are currently using.

    2) https://caniuse.com/ To check support for a particular javascript feature across different browsers.