Quantcast
Channel: Ember.JS - Latest topics
Browsing all 4836 articles
Browse latest View live

Linking to Content on the same page & component

When I want to link to some content, on the same page, with standard html I would do something like: <a href="#jsmith">Click here to learn about John Smith.</a> <!-- somewhere further...

View Article


Uncaught (in promise) TypeError: Class constructor Class cannot be invoked...

I’m getting the following error in the console of the browser, when trying to access my route “login”: Uncaught (in promise) TypeError: Class constructor Class cannot be invoked without 'new' at...

View Article


Ember component test fails. Asking to call setupRenderingContext

I get this strange error message when I tried to run a test for my component. Promise rejected during “MY_COMPONENT_TEST”: Cannot call render without having first called setupRenderingContext. I...

View Article

How to incorporate computed property macros w/ glimmer components

Hi I am looking for an example of how computed property macro’s fit into the glimmer component context having trouble finding explicit documentation on how macro’s are used in this case Any help would...

View Article

Not generate .js file

While generate component through cli comment. ember generate component component-name Message : installing component create app\components\testing.hbs skip app/components/testing.js tip to add a...

View Article


How to 'async model' hook followed by 'setupController' hook

I am trying to pass route params to my controller via the ‘setupController’ hook in my route handler. First I’m referenced the (https://guides.emberjs.com/release/routing/specifying-a-routes-model/)...

View Article

Pass Params from 'Model' Hook to 'setupController' hook in route handler

I am looking to Pass route params from ‘Model’ Hook to ‘setupController’ hook in a route handler. I can’t seem to achieve this without first doing the following in my model hook...

View Article

How to stub objects and methods not part of a factory

I have a component which makes use of an imported object. import MyObj from '<MODULE_LOCATION>'; export default Component.extend({ init(){this._super(...args);// some code which make use of the...

View Article


How to servlets from ember

I am using java servlet for back-end. How do i call those servlet methods from ember? 4 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Using `or` to provide a default event handler for `on`

Hey there, I’m making a ModalDialog component which takes a onOverlayClick argument. The passed in function will be called when the overlay is clicked (I’m sure you’re surprised ): <div...

View Article

Ember.js - The 2020 Ember Roadmap

The purpose of the Ember Roadmap process is to rally the community around a number of shared goals. This post documents those goals for 2020. This is a companion discussion topic for the original...

View Article

Ember.js - The Ember Times - Issue No. 155

👋 Emberistas! 🐹2020 Ember Roadmap published 🧭, release of Ember.js 3.19! 🎉, Rock & Roll with Ember.js Octane edition is here 🔥🐹, Ember 101: new video tutorial series for beginners 💻, State of...

View Article

Image may be NSFW.
Clik here to view.

How to prevent incremental storybook builds when running `ember test -s`?

When running ember test -s , after any file save, storybook will incrementally build and slow down testing a lot. Is there a way to prevent incremental storybook buildings when running ember test -s ?...

View Article


Image may be NSFW.
Clik here to view.

Short post on partial application in Ember templates

My team and I had a discussion about partial application when working with Octane. I was inspired to write a short post about it on my personal blog. shameless self-promotion If you have questions,...

View Article

Guidance re: triggering tasks from component args

So my team is pretty split on this topic recently and I’d like to solicit guidance from the community and preferably anyone from the core team on the right path forward. The problem We have some...

View Article


Want to have ember app has monolithic

I’m building a new app composed with multiple engines for each business journey. But here the problem is whenever i update a engine i have to build the master app. To avoid that i’m thinking of to...

View Article

Ember.js - The Ember Times - Issue No. 156

👋 Emberistas! 🐹Read the blog post on using ember-concurrency with TypeScript 🤝, reusable DOM behavior in React vs Ember 🪔, and last, but not least, Mirage JS with GraphQL 🏝! This is a companion...

View Article


Dynamic route segments without /

Is it possible to have dynamic route segments without forward slashes? For example, I’m hoping to achieve something like: tutorspot.co.uk/tutors-in-london where “tutors-in” is the route and “london”...

View Article

Ember Photo Upload RestAPI

I am using ember.js “edition”: “octane”. I am trying to upload image from ember through a RestAPI. I am also using Python Flask as my server(Back-end). So, I am looking for a sample code of uploading...

View Article

Help needed: The "data" argument must be of type string or an instance of...

Today I noticed that I can no longer build my app locally using ember build -prod. CI builds fine and ember server works without issues as well. This is the error I am seeing: Build Error (Filter) in...

View Article
Browsing all 4836 articles
Browse latest View live