Hubspot-react with router (react-router-dom)

Hi I’m using the

hubspot-react boilerplate to create a module, but I’ve realized that I cannot make the router works (react-router-dom)

also I cannot change the current url by using window.history.pushState in the module

Is there some work-arounds ?

Thanks

Hi, @YLIN0 :waving_hand: Thanks for reaching out. I feel like the community needs additional information here. Hey, @Kevin-C @Oezcan @Teun, do you have any suggestions for @YLIN0 or tips on the kind of additional info they can include?

Thank you for taking a look! — Jaycee

Follow up :

Since I got no answers and the hubspot react boilerplate wasn’t enough documented.

finally I’ve remove the whole hubspot boilerplate in the project.

Using pure react without hubspot in it, it works great.

Hi @YLIN0 can you please be more specific? How could you publish the app if you removed the Hubspot boilerplate? Thanks.