visionmedia / page.js

Micro client-side router inspired by the Express router
http://visionmedia.github.com/page.js
7.67k stars 687 forks source link

replaced expensive with extensive in the Readme.md #460

Closed Joshua-Fredrickson closed 6 years ago

Joshua-Fredrickson commented 6 years ago

in the following section I replaced expensive with extensive for improved comprehension.

Working with state

When working with the pushState API, and page.js you may optionally provide state objects available when the user navigates the history.

For example if you had a photo application and you performed a relatively extensive search to populate a list of images, normally when a user clicks "back" in the browser the route would be invoked and the query would be made yet-again.

An example implementation might look as follows:

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 91.429% when pulling 06db2b63364f447fd9db321b245ae61f710f9a3e on Joshua-Fredrickson:joshuaFredrickson into 1bc93692b0924b686e2207a66e2e73a85e1ab058 on visionmedia:master.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 91.429% when pulling 06db2b63364f447fd9db321b245ae61f710f9a3e on Joshua-Fredrickson:joshuaFredrickson into 1bc93692b0924b686e2207a66e2e73a85e1ab058 on visionmedia:master.

matthewp commented 6 years ago

Thanks.