Add a test that verifies `@model` is stable between route transitions
This adds a failing test for the issue mentioned in https://github.com/emberjs/ember.js/issues/18987 based on the StackBlitz reproduction and supersedes https://github.com/emberjs/ember.js/pull/19257.
I needed to do some changes to the Vite and CI setup to make the @glimmer/component imports working in the test files. Not sure if what I did is the best solution but it works for the reproduction at least.
Estimated Asset Sizes
Diff
Details
| This PR | main |
|---|---|
|
|
do you happen to know if this ever worked?
do you happen to know if this ever worked?
I don't think so, no. As far as I know it has been an issue since @model was introduced, which is why the template-lint rule exists.
It's just a tricky to reproduce issue so it seemed that it was "solved" at some point in time.