Skip to content

arjansingh/ember-data-fastboot

 
 

Repository files navigation

Ember-data-fastboot

This addon serializes the contents of your ember-data Store within the Fastboot shoebox. It happens like this:

  1. Your application renders in the fastboot server.
  2. At the end of fastboot rendering, all your Ember Data Models get serialized into the fastboot shoebox (which uses tags like <script type="fastboot/shoebox">).
  3. Your application boots up in the browser. This addon's instance-initializer notices the serialized models and uses pushPayload to load them into the Store.
  4. As your app renders in the browser, any store.findRecord, etc will locate the already cached models.

Installation

ember install ember-data-fastboot

About

Serializes and restores the ember-data store for fastboot

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.6%
  • HTML 21.4%