Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

add clarification to forNoMatch fragment #210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ You can also match a fragment against anything in the current `location` object:

You can use `withConditions` in conjunction with `forRoute` to set strict conditions for when a `<Fragment>` should display.

To show a `Fragment` when other `Fragment`s match a route, use `<Fragment forNoMatch />`.
To show a `Fragment` when no other `Fragment`s match a route, use `<Fragment forNoMatch />`.

`<Fragment>` lets you nest fragments to match your UI hierarchy to your route hierarchy, much like the `<Route>` component does in `react-router@v3`. Given a URL of `/about/bio/dat-boi`, and the following elements:

Expand Down