Hi, thanks for repo. After some playing with project I realized we do not need endsWithlogic in router
Problem:
Because it is not going to work with params. For example, we can not march a/:id with { matcher: endsWith('a'), component: AComponent}.
Solution:
Instead of endsWith
Hi, thanks for repo. After some playing with project I realized we do not need
endsWithlogic
in router Problem: Because it is not going to work with params. For example, we can not marcha/:id
with{ matcher: endsWith('a'), component: AComponent}
. Solution: Instead of endsWithWe can just use like below:
I made sample PR which includes those small changes + feature with router params.
https://github.com/manfredsteyer/multi-framework-micro-frontend/pull/4/files
But nevertheless I think I can miss something, @manfredsteyer could you tell please why you chose endsWith? Thanks in advance.