No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
addon
app
config
tests
types/dummy
vendor
.editorconfig
.ember-cli
.eslintrc.js
.gitignore
.npmignore
.nvmrc
.travis.yml
.watchmanconfig
LICENSE.md
README.md
ember-cli-build.js
index.js
package.json
testem.js
tsconfig.json
yarn.lock

README.md

ember-constraint-router

Note: Very Very Alpha

This repo houses various Ember routing experiments that fall under the umbrella of "constraint routing", i.e. the ability to "route" or navigate by more things than just the URL (this is expecially useful for WebSocket-driven mobile apps like Uber/Lyft). This repo also includes experiments with mobile navigation stacks (like iOS's UINavigationController) that might be extracted into a separate library at a later date once the primitives settle.

Relevant links for the background/ground motivation for this:

This is totally not ready for public consumption and currently relies on a fork of Ember 3.1 (which consists of literally a single line of code change); I'm currently testing out a lot of these patterns on FutureProofRetail.com apps and if all goes well hopefully we can land an RFC or two to enable officially-sanctioned addon experimentation with "scoped services" and other dynamic scope use cases.

If you're interesting to get involved or talk about this stuff, hit up the #router-ideas channel in the Ember Community Slack.

Installation

  • git clone <repository-url> this repository
  • cd ember-constraint-router
  • yarn install

Running

Running Tests

  • yarn test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.