This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
RelativeFragment using _only_ withConditions
never renders
#115
Labels
withConditions
never renders
#115
It looks like you cannot use
withConditions
logic with<RelativeFragment>
without also includingforRoute
- thestore.matchWildcardRoute
will always returnnull
, which means this line always results in anull
render.The 'fix' is to use
AbsoluteFragment
instead ofRelativeFragment
, but it would be nice if I could just use one kind of fragment across my entire app without having to worry about different behavior outside of howforRoute
is interpreted.It would be worth adding a parallel test that uses
RelativeFragment
for both of these test cases, unlessRelativeFragment
should never be used in this way.The text was updated successfully, but these errors were encountered: