Skip to content

Commit afadb85

Browse files
authored
fix typo in property name isFastboot -> isFastBoot
1 parent aed4cc2 commit afadb85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ defer the rendering of the page.
142142

143143
The following example demonstrates how the `deferRendering` method can be
144144
used to ensure posts data has been loaded asynchronously by a component before
145-
rendering the entire page. Note how the call should be wrapped in a `fastboot.isFastboot`
145+
rendering the entire page. Note how the call should be wrapped in a `fastboot.isFastBoot`
146146
check since the method will throw an exception outside of that context:
147147

148148
```js
@@ -378,7 +378,7 @@ export default Ember.Route.extend({
378378

379379
### Think out of the Shoebox
380380

381-
Shoebox gives you great capabilities, but using it in the real app is pretty rough. Have you ever thought that such kind of logic should be done behind the scenes? In a large codebase, defining `fastboot.isFastboot` conditionals can be a daunting task. Furthermore, it generates a lot of boilerplate code, which obscures the solution. Sooner or later coupling with `shoebox` will spread over all routes.
381+
Shoebox gives you great capabilities, but using it in the real app is pretty rough. Have you ever thought that such kind of logic should be done behind the scenes? In a large codebase, defining `fastboot.isFastBoot` conditionals can be a daunting task. Furthermore, it generates a lot of boilerplate code, which obscures the solution. Sooner or later coupling with `shoebox` will spread over all routes.
382382

383383
Fortunately, there is an addon called [ember-data-storefront](https://embermap.github.io/ember-data-storefront/) that can help to alleviate this pain, thanks to its Fastboot mixin: https://embermap.github.io/ember-data-storefront/docs/guides/fastboot.
384384

0 commit comments

Comments
 (0)