-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit
- Loading branch information
0 parents
commit d23d676
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
Ember Sequential Render | ||
============================================================================== | ||
|
||
![Build](https://github.com/freshdesk/ember-sequential-render/workflows/Build/badge.svg?branch=master) | ||
|
||
|
||
Modern SPA layouts have an overload of information in the user's viewport in any given route. What's preventing secondary information from blocking or taking up resources, which, if left alone, would drastically improve the rendering of the primary content? | ||
[More thoughts on Critical Rendering Path](https://developers.google.com/web/fundamentals/performance/critical-rendering-path) | ||
|
||
ember-sequential-render helps in CRP optimization with the following features: | ||
|
||
### Prioritized Sequential Rendering | ||
|
||
A composable container component, **sequential-render**, which prioritizes and queues the data fetch and the rendering of its content with the necessary loading states. | ||
|
||
### Postrender callback | ||
|
||
An elegant way to defer the load of thirdparty resources after the rendering of the highest priority item in your queue. | ||
|
||
|
||
Compatibility | ||
------------------------------------------------------------------------------ | ||
|
||
* Ember.js v3.4 or above | ||
* Ember CLI v2.13 or above | ||
* Node.js v8 or above | ||
|
||
|
||
Installation | ||
------------------------------------------------------------------------------ | ||
|
||
``` | ||
ember install ember-sequential-render | ||
``` | ||
|
||
|
||
Usage | ||
------------------------------------------------------------------------------ | ||
[Usage Documentation](https://freshworks.github.io/ember-sequential-render) | ||
|
||
Contributing | ||
------------------------------------------------------------------------------ | ||
|
||
See the [Contributing](CONTRIBUTING.md) guide for details. | ||
|
||
|
||
License | ||
------------------------------------------------------------------------------ | ||
|
||
This project is licensed under the [MIT License](LICENSE.md). |