Alex Kanunnikov

Results 437 comments of Alex Kanunnikov

ember_debug.js:6054 failed to setup in element support Error: Module: '@glimmer/runtime' not found. at requireModule (ember-inspector.ts:575:13) at InElementSupportProvider.require (ember_debug.js:6028:39) at new InElementSupportProvider (ember_debug.js:5907:27) at new RenderTree (ember_debug.js:6052:33) at _class.init (ember_debug.js:10517:42) at...

Groundwork landed in https://github.com/lifeart/glimmer-next/pull/188

Error recovery notes, there is 2 possible options for error: 1. Rendering stage. Here we could wrap with try/catch https://github.com/lifeart/glimmer-next/pull/55 2. Updating stage, at the moment we removing `broken` opcode...

Compilation pipeline notes: TextContent: - [ ] every primitive should be wrapped to `SYMBOLS.TEXT` to avoid runtime iteration (or not?) - [ ] every path should be wrapped to `RESOLVE_RENDERABLE`...

we need to create compat for ```js import { createStorage, getValue, setValue } from '@glimmer/tracking/primitives/storage'; ``` ```js import { createStorage, getValue, setValue, } from 'ember-tracked-storage-polyfill'; ``` https://github.com/emberjs/rfcs/blob/2845588c167f2584ed3f24569d53d14abf8ab5ef/text/0669-tracked-storage-primitive.md - [x] https://github.com/lifeart/glimmer-next/pull/92...

we need to create compat for `packages/@ember/-internals/metal/lib/tracked.ts` ``` import { consumeTag, dirtyTagFor, tagFor, trackedData } from '@glimmer/validator'; ``` https://github.com/lifeart/glimmer-next/pull/95 - [x] `trackedData` https://github.com/glimmerjs/glimmer-vm/blob/main/packages/%40glimmer/validator/lib/tracked-data.ts - [x] `dirtyTagFor` https://github.com/glimmerjs/glimmer-vm/blob/main/packages/%40glimmer/validator/lib/meta.ts - [x] `tagMetaFor`...

TODO: glimmer reference - [x] https://github.com/lifeart/glimmer-next/pull/96

TODO: poke with ember-source - [x] need inspiration https://github.com/emberjs/ember.js/pull/20711

Here is POC with working ember-modifier, ember-helper, and glimmer components https://github.com/lifeart/glimmer-next/pull/25