NullVoxPopuli
NullVoxPopuli
Gonna try to pair with @chancancode on some of this. I'm getting hung up on `@glimmer-workspace`s made up testing environment :sweat_smile:
I mean, the biggest thing that changed were some glimmer-vm upgrades, so it's possible that that caused the bloat. It would be great to see some bundle analysis
We now need this to proceed with https://github.com/emberjs/rfcs/pull/1015 For the VM side of this, https://github.com/glimmerjs/glimmer-vm/pull/1489, benchmarks are running, so we'll know if this is safe.
Starbeam's vanilla renderer would be a good candidate here as well: https://github.com/starbeamjs/starbeam/issues/152
Another use case: Terminal UI renderers -- similar to Ink https://github.com/vadimdemedes/ink (I bet we could use way less memory pressure tho)
Looks like the place to implement this is in `setupApplicationRegistry` here: https://github.com/emberjs/ember.js/blob/main/packages/%40ember/-internals/glimmer/lib/setup-registry.ts#L41 ```js registry.register('renderer:-dom', Renderer); ``` This is called from `buildRegistry` here: https://github.com/emberjs/ember.js/blob/main/packages/%40ember/application/index.ts#L226 And that's called from `init` in the...
woah, look at all the renderers React has: https://github.com/chentsulin/awesome-react-renderer there is certainly demand for this.
this is resolved if `statkcEmberSource` is turned off
yeah, older `ember-cli` ships everything in node_modules, and there is no `staticEmberSource` option :sweat_smile:
Looks like this happens for tests, too: ``` Uncaught TypeError: ember__WEBPACK_IMPORTED_MODULE_6__.default.Test is undefined setupTestAdapter index.js:123 start index.js:203 js test-helper.js:13 Webpack 7 [index.js:123:36](webpack://docs-app/src/index.js) Uncaught Error: The tests file was not loaded....