Skip to main content

I initially posted my question in the Lightning Components Development group. The issue I have is that in a single-page app with two levels of client-side navigation (outer router and inner router) I can't get past the inner route handler because of an exception: "Error: Adapter already has a context provider.".

 

I followed the example in LWR docs to create a simplified reproduction of the problem. In that app, I could not get past the `example/animalPageHandler` to render the inner view.

 

As suggested in the other thread, I added "lwc" and "lwr/navigation" modules to the exclude list in the build config, and yet I still stuck.

 

What else am I missing?

 

Thank you!

 

#LWR Node

2 answers
  1. Jan 20, 2023, 3:11 PM

    @Trevor Krieg, I'm using "lwr/router" to handle client-side navigation. The "Lightning Component Router" third-party library you mentioned seems to be made for Aura component. Or is there another router I'm not aware of?

0/9000