RobinMeow / CommunityCookbook

CommunityCookbook
MIT License
0 stars 0 forks source link

navigation mediator #102

Closed RobinMeow closed 5 months ago

RobinMeow commented 5 months ago

make sure, the hard coded strings are reused somehow. import recipeRoutes will not work.

for now, I like the idea, of never using routerLink, but create a method instead, which forces us to always use Router/ CustomMediator, for routing. This has the advantage, that we do not have to provide/import/inject RouterLink, which makes a difference, because RouterLink has a hidden dependency to Router, and therefore injecting Router instead of importing RouterLink should be less compiled javascript

RobinMeow commented 5 months ago

nevermind it. It wierd because of relative pahting and such..