Code Monkey home page Code Monkey logo

Comments (9)

jorgebucaran avatar jorgebucaran commented on April 27, 2024 4

It's not like people would have to type the term a thousand times. It's just once. T

Good point.

What do you folks think? @danigb @itrelease @maraisr @tzellman @evgenykochetkov @terkelg

I'm 💯 with the idea.

from hyperapp.

tunnckoCore avatar tunnckoCore commented on April 27, 2024 2

I was thinking the same thing. subscriptions is better if you want shorter name subscribes is better than subs too.

from hyperapp.

tzellman avatar tzellman commented on April 27, 2024 1

I like subs for brevity, but I agree that subscriptions may be more obvious. You could always settle with var subs = options.subscriptions || options.subs || {}.

from hyperapp.

jorgebucaran avatar jorgebucaran commented on April 27, 2024 1

Shipped. See the release notes.

from hyperapp.

itrelease avatar itrelease commented on April 27, 2024

I think it's a good idea considering that it's inspired by Elm.App it would be nice to go along with same naming for api

from hyperapp.

terkelg avatar terkelg commented on April 27, 2024

I agree, good idea!

from hyperapp.

rbiggs avatar rbiggs commented on April 27, 2024

subs is an array, so its description should be a noun, not a verb. subscribes would indicate a function.

from hyperapp.

jorgebucaran avatar jorgebucaran commented on April 27, 2024

@rbiggs Changed to subscriptions. Code still handles and will handle .subs for a while, at least after >=0.0.13, examples have been updated and due mourn time has been given.

from hyperapp.

FlorianWendelborn avatar FlorianWendelborn commented on April 27, 2024

@rbiggs Can this be closed?

@jbucaran Is there anything else to do before releasing 0.0.13? I'd like to have the subscriptions fix available for usage. 🙂
In addition to that 0.0.12 changed the import to hyperapp/hx and the longer we wait to undo this the more people will use that change just to undo it in 0.0.13.

from hyperapp.

Related Issues (20)

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.