Giter Site home page Giter Site logo

ember-helpers-render-component's People

Contributors

ember-tomster avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cefigueiredo

ember-helpers-render-component's Issues

Ember 2.0

Sorry if this is the wrong place to discuss this, but I'm interested in using this helper to create a dashboard with user configurable widgets. My only concern is that because it's a new project I am keen to migrate to Ember 2.0 as soon as possible.

Does this helper still have a place in Ember 2.0? Is it compatible with the React philosophies that Ember seems to be adopting?

Since this feels a bit like breaking the ember happy use case (route > controller > Template > components) it would be great to have a few examples and a bit more information on the repo Readme.md to give confidence in not just this helper but the approach in general.

Appreciate your time.

Component to render is unbound

Hi, i'm using this helper to render a dashboard of widgets:

{{#each widget in model.widgets}}
{{#widget-container widget=widget}}
{{render-component widget.type}}
{{/widget-container}}
{{/each}}

I then change the type of one of the widgets:

currentWidget.set('type', newWidgetType);

This changes the type in the model of the widget but render-component doesn't respect this change and render a new component. I suppose the render-component helper needs to listen for changes to the component it was told to render in case this changes and it needs to render a different component.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.