SherylHohman / ReactND-C3-Project2-Readable

BSD 2-Clause "Simplified" License
1 stars 0 forks source link

separate loc from viewData #67

Open SherylHohman opened 6 years ago

SherylHohman commented 6 years ago

hmm..

well, loc does store postId, categoryName, etc that's applicable to the particular views..

Anxious as I am to embark.. Let's sit on it a bit longer.

SherylHohman commented 6 years ago

Seems like if I did that,

loc would store the url, route, and routeName

and then params should still reside on viewData. Maybe routeName, too.

Dunno. using URL for store (and then still keeping it in store, because don't have a better way of accessing it's parts) puts it into a quasi thingy-ma-jig.

For me, url is really just (used as) "store" for app info. For Router, it's its own thing.