All Projects → machty → ember-constraint-router

machty / ember-constraint-router

Licence: MIT license
No description, website, or topics provided.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

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 Discord server.

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/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].