TypeError: component is not a function

Hi,
While doing Router.back() getting below error in typescript Ljs2.

It was working earlier, but i wanted to updated SDK to latest version but i am getting this error. So i reverted but still getting this error. I could see only core has been updated.

Thanks for any help.

I also had this error on one TV platform. I ended up working around it by calling e.PreventDefault() in the _handleBack(e) function as described on this page. Regarding handle back using handlekey

Iā€™m not sure what the root cause is, but maybe this will work for you?

1 Like