Skip to content

Mithril.js Bucket List #802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 of 8 tasks
dead-claudia opened this issue Sep 28, 2015 · 21 comments
Closed
4 of 8 tasks

Mithril.js Bucket List #802

dead-claudia opened this issue Sep 28, 2015 · 21 comments
Assignees

Comments

@dead-claudia
Copy link
Member

dead-claudia commented Sep 28, 2015

Do subscribe to this to keep updated! I do try to keep this up to date!

This is a meta bug for some of the more prominent proposals that haven't been rejected. Discussion on any of these ideas specifically are better left on the relevant sub-bug of this one. Being on this list does not guarantee it'll be in the next version of Mithril.

If I missed anything, a new bug was opened for something on this list, or if something else comes up, please tell me. Just make sure to @mention me so I'll know about it and can update this accordingly.

Some of these were mostly discussed in the Gitter room, while others originated in other bugs.

/cc @lhorie (You're welcome in advance.)

@dead-claudia
Copy link
Member Author

I also know this is probably not the best of titles, so if you have something better, please share. I'll probably take it.

@lhorie
Copy link
Member

lhorie commented Sep 28, 2015

@IMPinball A few other ones off the top of my head:

  • partial rendering
  • class sugar (e.g. {class: {foo: shouldFooAppear}} )
  • generator support
  • HTML namespace support

@tinchoz49
Copy link

hi guys! @lhorie i think the class sugar can be defined as an external module or maybe better simple use classnames

{
  class: classnames({
     foo: shouldFooAppear
  })
}

@dead-claudia
Copy link
Member Author

As soon as I get to a computer, I'll update.

On Mon, Sep 28, 2015, 12:35 André D [email protected] wrote:

For example, say I have a library which sorts, filters, paginates tables
etc (like datatables). I can use a mithriljs component to render out that
table beautifully and then use config to pass that table off to the
library. However, from that point on if I want to re-render that table I
have to re-render the entire page (say for example, I have a mithril-driven
dropdown to change which animal specifies I am looking at as a whole, and
this table is a small widget within the page as a whole, or I have multiple
of them on the page, etc).


Reply to this email directly or view it on GitHub
#802 (comment).

@dead-claudia
Copy link
Member Author

Updated!

@dead-claudia
Copy link
Member Author

Updated! (recent patch)

@dead-claudia
Copy link
Member Author

Updated! (recent patch & Gitter discussion)

@barneycarroll
Copy link
Member

  • generator support

@lhorie generators are a language feature, the onus on support is in the runtime environment. Where do you see these being involved in Mithril?

@lhorie
Copy link
Member

lhorie commented Nov 9, 2015

@barneycarroll someone had mentioned that it would be nice to support them in templates, e.g.

m("ul", liGenerator) //render a bunch of <li>'s

It's more of a nice-to-have than anything else, and not a huge priority

@dead-claudia
Copy link
Member Author

@lhorie would you be okay with later making components be able to return
arrays?

On Mon, Nov 9, 2015, 12:50 Leo Horie [email protected] wrote:

@barneycarroll https://github.com/barneycarroll someone had mentioned
that it would be nice to support them in templates, e.g.

m("ul", liGenerator) //render a bunch of

  • 's

    It's more of a nice-to-have than anything else, and not a huge priority


    Reply to this email directly or view it on GitHub
    Mithril.js Bucket List #802 (comment).

  • @lhorie
    Copy link
    Member

    lhorie commented Nov 9, 2015

    @IMPinball yeah I'd like to make that work at some point

    @dead-claudia
    Copy link
    Member Author

    Removing "CSS class object (string-boolean hash maps)", as they appear to be losing support there in favor of classnames.

    @tinchoz49
    Copy link

    @IMPinball i agree!

    @dead-claudia
    Copy link
    Member Author

    Updated

    @dead-claudia
    Copy link
    Member Author

    Updated!

    1 similar comment
    @dead-claudia
    Copy link
    Member Author

    Updated!

    @lhorie
    Copy link
    Member

    lhorie commented Dec 21, 2015

    linting and m.prop promise infectiousness were reverted in 0.2.2-rc.1, so I'm unchecking those items

    @dead-claudia
    Copy link
    Member Author

    I'm fine with that.

    On Sun, Dec 20, 2015, 19:39 Leo Horie [email protected] wrote:

    linting and m.prop promise infectiousness were reverted in 0.2.2-rc.1, so
    I'm unchecking those items


    Reply to this email directly or view it on GitHub
    #802 (comment).

    @lhorie
    Copy link
    Member

    lhorie commented Jun 3, 2016

    Going to close this in favor of #1090

    @lhorie lhorie closed this as completed Jun 3, 2016
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    5 participants
    @barneycarroll @tinchoz49 @lhorie @dead-claudia and others