Josh Thomas
Josh Thomas
I will be working on a module similar to this feature request for Ionic2. We plan on integrating like named component dependencies. Still working through the specifics but I will...
Yes and the magic has been a discussion point for us. Not a for sure thing yet but I will probably release a plugin for it anyway.
If you want to have a component outside of a route you can. Follow this guide. It would be similar to accessing it from a deep component. https://github.com/ionic-team/stencil-router/wiki/Inject-history-into-a-deep-component Although I...
@MoAsmar Can you provide more detail on the experience? What is it exactly you would like to accomplish. It is possible there might be another mechanism that would work.
Makes sense. Thanks! I will hopefully be completing this in the next couple weeks.
I created a Prompt component ala react router. That should accomplish the before leave route guard. An example of this can be seen here. https://github.com/ionic-team/stencil-router/blob/master/packages/demo/src/components/test-route-guard.tsx#L22 I haven't had time to...
I would say that if you are using a router the components being routed to should be knowledgable about what information they are receiving via router. Another approach could be...
I have decided not to implement this feature. I think its more important to keep url props independent.
After more thought I am going to reopen this. I don't want this to work by default, but I think an extra param to the route component could allow props...
@jgw96 not sure we want to do this. Obviously it does not break anything but it will add overhead (extremely small amount). I think that for best practices it might...