Comments (10)
Also is there a recommended way to work around this so (automated) releases are possible?
from glimmer.js.
Would it be possible to do a reproduction here? https://glimmer-playground.netlify.com/
from glimmer.js.
Well, actually, because I have been banging my head against this wall for many many hours I released on was slightly lazy when opening this bug. Should have done more homework...
It seems that the fix I mentioned (merged Jul 11) is committed into the newest code but it is not part the code created by the ember new my-app -b @glimmer/blueprint
with [email protected] as of today.
I don't know whether that's OK or not.
from glimmer.js.
@forbesmyester Apologies, I'm not sure if I understand exactly what the problem you're describing is.
Can you provide some more details on how to reproduce "DOM updates being fed through args still lag" and what version of @glimmer/application
and @glimmer/component
you're on? Thanks!
from glimmer.js.
for me, it's the distributed version with ember-cli that fail.
the tracked args are not updated properly in child components when args change.
the update apply after render update so the visible change are delayed to next rendering, as mentionned in another issue/PR that solved the problem.
if you try to use this experimental spa you'll see that look broken (routing with click twice, date-picker days are out of sync when navigating, counter act weird, ect) in fact that work, not as expected.
from glimmer.js.
Well the fix in @glimmer/component
which was fixed on Jul 11, is still not included in glimmer when following the instructions on the front of the glimmer website.
npm install -g ember-cli
ember new my-app -b @glimmer/blueprint
cd my-app/ && ember s
The update()
function still has no body in node_modules/@glimmer/component/dist/commonjs/es2017/component-manager.js
The effect of the bug is exactly the same as is described in bug #67, because it is that bug.
Package.json below:
{
"name": "my-app",
"version": "0.0.0",
"description": "A brand new Glimmer app.",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build -e production",
"start": "ember server",
"test": "ember test"
},
"devDependencies": {
"@glimmer/application": "^0.7.2",
"@glimmer/application-pipeline": "^0.8.0",
"@glimmer/blueprint": "^0.5.0",
"@glimmer/inline-precompile": "^1.0.0",
"@glimmer/resolver": "^0.3.0",
"@glimmer/test-helpers": "^0.30.0",
"@types/qunit": "^2.0.31",
"broccoli-asset-rev": "^2.5.0",
"ember-cli": "^2.14.0",
"ember-cli-dependency-checker": "^2.0.1",
"ember-cli-inject-live-reload": "^1.6.1",
"ember-cli-sass": "^6.2.0",
"ember-cli-uglify": "^2.0.0-beta.1",
"qunitjs": "^2.3.3",
"typescript": "^2.2.2"
},
"engines": {
"node": ">= 4.0"
},
"private": true
}
from glimmer.js.
Okay, so the bug has been fixed in 0.8.0 but you’re reporting that the issue is that the blueprint hasn’t been updated, is that right?
from glimmer.js.
Pretty much.
At the time I had spent a day debugging and finding what had happened. I could see it was in another repo and was concerned it had got lost or something had got stuck/lost/broken in the release process as the bug seems quite big/fundamental and very old.
So I was also joining up the repo's/bugs for tracking purposes as the repo move (presumably) destroyed that part of the (bug) history.
from glimmer.js.
@forbesmyester Got it, thank you. I agree it's a big problem that we need to prioritize—just want to make sure there aren't even more bugs in the internals that I need to investigate.
from glimmer.js.
I just published @glimmer/[email protected] which should fix this.
Sorry for the delays.
from glimmer.js.
Related Issues (20)
- Apps generated from the blueprint in `2.0.0-beta.13` do not compile
- Compatibility Error: ember-3.27, 3.28, and 4 >> Can't resolve 'ember-source/@glimmer/util.js' HOT 3
- Passing parameters to named blocks causes Parse Error HOT 2
- Current problems with the low-level API HOT 2
- @babel/[email protected] cannot be used with @glimmer/babel-preset
- setting "sideEffects": false for "@glimmer/runtime" reduces bundle size to 6kb HOT 3
- setting "sideEffects": false for "@glimmer/validator" reduces bundle size to 0.5kb HOT 1
- glimmer-babel preset failing for typescript files HOT 10
- Importing external glimmer components as children // glimmer addons
- support async logic inside ssr renderer HOT 1
- Install fails with incorrect eslint version
- `<template>` html tag is rendered incorrectly
- Todo: add tests around component destruction
- v2.0 release checklist HOT 4
- How to get the literal expression of a component argument
- @glimmer/component breaks build in embroider-safe scenarios
- cached not exported for typescript
- Using htmlSafe on strings that contain video tags leads to content not being rendered HOT 1
- Cannot read properties of undefined (reading 'name') in first line of every template HOT 5
- `@glimmer/tracking` depends on `@glimmer/validator 0.44.0, which is too old and breaks type-checking by default.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glimmer.js.