Ember.JS Forum
1 FOLLOWERS
Welcome to the Ember.JS forum, a place for companion discussion for the Ember.js project. Share import failure problems, get guides if you are facing difficulties understanding the Ember component code, and ask questions on Ember testing and Ember data here.
Ember.JS Forum
4h ago
Hi I have an existing Ember app which uses Ember 3.24. I have successfully uodated the application to version 3.28 but the upgrade to version 4.0 leads to a bunch of errors and the application is not working anymore. Furthermore we have ember add ons which are also outdated and I have no idea on how to upgrade these addons. Any help recommendation is appreciated
2 posts - 2 participants
Read full topic ..read more
Ember.JS Forum
3d ago
I don’t understand why whatTimeIsIt is not updating in the DOM. Ideas?
The timer is ticking, I can set a breakpoint in the console and I see that whatTimeIsIt is changing…
@tracked whatTimeIsIt
timerId = null
updateWhatTimeIsIt() {
this.whatTimeIsIt = (new Date()).toISOString()
}
constructor() {
super(...arguments)
this.updateWhatTimeIsIt()
this.timerId = setInterval(this.updateWhatTimeIsIt, 1000 )
}
The display doesn’t update
<div>
<div>Timer</div>
<div>{{this.whatTimeIsIt}}</div>
</div>
4 posts - 2 participants
Read full topic ..read more
Ember.JS Forum
2w ago
The docs for {{#in-element}} say:
insertBefore – by default the DOM element’s content is replaced when used as destinationElement . Passing null to insertBefore changes the behaviour to append the block content to the end of any existing content. Any other value than null is currently not supported.
Being able to pass an element reference to insertBefore would be very useful for my use case. So I was trying to work out why this restriction exists.
If I comment out this assertion in the template compiler:
github.com emberjs/ember.js/blob/0b79740308/packages/ember-template-compiler/lib/plugins ..read more
Ember.JS Forum
3w ago
I have a project that I am updating from Ember 3.28 to Ember 5.4. After a lot of updating everything works perfectly in development, the app runs well and there are no errors. But it doesn’t load when opening it in production mode.
I get this error:
Uncaught Error: Could not find module `ember-simple-auth/initializers/ember-simple-auth` imported from `dashboard/initializers/ember-simple-auth`
It complains that it can’t load the ember-simple-auth module (I’m installing version 6.0.0 of that addon).
After investigating a debugging I’ve finally ended up checking the Ember modules registry. I th ..read more
Ember.JS Forum
1M ago
Hello folks, I’m having an issue with a third-party Ember application. I need to maintain a code that calls functions from the Ember SPA (Single Page Application). This code is a browser extension that explores a page written in Ember. This extension calls functions that used to exist in the window object but no longer do (I understand that using these functions might be wrong and prone to issues). The code is as follows:
const app = window.Ember.Namespace.NAMESPACES[1]
app.__container__.lookup('router:main').transitionTo('path');
Searching through documentation, I couldn’t find anything abo ..read more
Ember.JS Forum
1M ago
When transitioning using routerService.transitionTo("/home?a=b"), or via <LinkTo, Ember seems to strip out any query parameters which are not configured in the destination route/controller.
This makes sense if Ember is the only thing consuming the query parameters.
However, we have a number of situations where we want to preserve all query parameters. For example: we want to be able to add a link with an analytics parameter like /home?utm_campaign=foo, and have that parameter preserved when transitioning to the route. We don’t necessarily have a list of all the possible query parameters in ..read more
Ember.JS Forum
1M ago
My company is requiring FIPS requirements in all of its applications. That means no MD5, which Ember-cli appears to use (at least in our ember 3.24 app).
I may be able to get an exception for this since it’s build code, but would rather just get it working.
Here’s the failure we are seeing digital envelope routines:EVP_DigestInit_ex:disabled for FIPS at new Hash (node:internal/crypto/hash:69:19) at Object.createHash (node:crypto:133:10) at md5 (/home/jenkins/workspace/myapp/node_modules/leek/lib/md5.js:7:12) at new Leek (/home/jenkins/workspace/mayapp/node_modules/leek/lib/leek.js:35:41) at mo ..read more
Ember.JS Forum
1M ago
I want to have my component update when a change is made to the session storage.
I’m using 5.4 and not TS. I think I need an observer, but there are two impediments. One, the example is in TS and I’m new enough to the web landscape that I can’t convert it to simple JS. Two, the documentation here and on other forums strongly discourage the use of observers.
1 post - 1 participant
Read full topic ..read more
Ember.JS Forum
1M ago
Hi, I want to add fields dynamically, basically fields details will be fetched using api call.
Can someone please guide how can we achieve this using ember.
2 posts - 2 participants
Read full topic ..read more
Ember.JS Forum
1M ago
There are a number of WASM SPA frameworks emerging. Some interact with the DOM, others render on a canvas.
NONE of them support templates, or the MVC or MVVM design pattern that templates represents.
I think that leaves Ember in a unique position to do something to enable JS controllers & models to be replaced with Rust.
Maybe LinkedIn would have a vested interest in sponsoring something along those lines?
1 post - 1 participant
Read full topic ..read more