Live data from Hacker News

Stimulus: A modest JavaScript framework for the HTML you already have

github.com

21–30 of 112 posts

Re: Stimulus: A modest JavaScript framework for the HTML you already have

#21
post #16

For context, I'm in no way, shape, or form a modern front end maestro. I'm good with ES6, Jquery, Handlebars, and Bootstrap. I've done a little with the Angular 2. From that perspective.... What does this buy me over the other more popular frameworks? What are the chances that this won't be abandoned if it doesn't gain traction? It's also easier to recruit developers if you say your stack is built on the more popular…

What does ES6, Jquery, Handlebars, Bootstrap and Angular 2 buy you ?

Better built ins and direct style, standardised DOM before it existed, grid layouts before they existed and widgets, a virtual DOM which updates when your data does. What's your point?

Re: Stimulus: A modest JavaScript framework for the HTML you already have

#22

For context, I'm in no way, shape, or form a modern front end maestro. I'm good with ES6, Jquery, Handlebars, and Bootstrap. I've done a little with the Angular 2. From that perspective.... What does this buy me over the other more popular frameworks? What are the chances that this won't be abandoned if it doesn't gain traction? It's also easier to recruit developers if you say your stack is built on the more popular…

(I don't like adding to a response once it's been commented on) My other rule of thumb when choosing a framework is what would happen if things go south, will I be asked by management why I chose X? The old "no one ever got fired for buying IBM". With a pedigree like BaseCamp has, I could justify it by saying it came from them. Just like I justified using Hashicorp's Nomad, even though no one had ever heard of it bef…

At some point, you have to stop following that advice or you end up on Lotus Notes and Tivoli. Which is entirely relevant to this discussion.

Re: Stimulus: A modest JavaScript framework for the HTML you already have

#24

It is becoming more and more apparent that with every piece of technology that is not really turn on/turn off you have to justify the investment.I get that this is an opinionated piece of software and solves basecamp's kind of issues but I do not see it being widely adopted. That said I wish people behind RoR would actually work on better integration with things like React and Vue.

Definitely agree. What would be really great is an easy way to symc the status between client and server, with generators for the api and a client library to manage the status which could then be used with react or any other similar front end framework.

Re: Stimulus: A modest JavaScript framework for the HTML you already have

#25
I think this, along with its sibling Turbolinks [1], is filling a much needed gap with regards to complexity in these javascript frameworks. Myself, I've been playing with intercoolerjs [2] for a few weeks, and it is quite refreshing.

These are great libraries for small full-stack teams who do not want to get lost in the complexity of front-end stuff like react, webpack, etc.

[1] - https://github.com/turbolinks/turbolinks

[2] - http://intercoolerjs.org/

Re: Stimulus: A modest JavaScript framework for the HTML you already have

#26

For context, I'm in no way, shape, or form a modern front end maestro. I'm good with ES6, Jquery, Handlebars, and Bootstrap. I've done a little with the Angular 2. From that perspective.... What does this buy me over the other more popular frameworks? What are the chances that this won't be abandoned if it doesn't gain traction? It's also easier to recruit developers if you say your stack is built on the more popular…

(I don't like adding to a response once it's been commented on) My other rule of thumb when choosing a framework is what would happen if things go south, will I be asked by management why I chose X? The old "no one ever got fired for buying IBM". With a pedigree like BaseCamp has, I could justify it by saying it came from them. Just like I justified using Hashicorp's Nomad, even though no one had ever heard of it bef…

If your primary metric is "do established companies use / support this", you're already well served by React / Angular, which are supported by Facebook and Google respectively.

I think the companies who built a framework can be instructive though. Frameworks and libraries tend to reflect the companies who created them. In React / Angular's case, the frameworks are built to work well for large teams that deal with many moving pieces. Basecamp has always been a comparatively small team who values simplicity when appropriate, which I think this tool reflects.

Re: Stimulus: A modest JavaScript framework for the HTML you already have

#29
post #5

Earlier quoted context omitted.

I believe this section attempts to answer that question: https://github.com/stimulusjs/stimulus/blob/master/ORIGIN.md...

It bothers me a bit that it feels intentionally dismissive of (or oblivious to) the current state-of-the-art of JavaScript frameworks. None of the criticism mentioned feel like an honest reflection of my last two years working with React (4 years total). Universal rendering is mainstream, there are plenty of options for vastly simplifying initial setup and overall complexity (eg Next.js). From what I understand, simi…

> It bothers me a bit that it feels intentionally dismissive of (or oblivious to) the current state-of-the-art of JavaScript frameworks.

This is definitely not software for you then.

Re: Stimulus: A modest JavaScript framework for the HTML you already have

#30
post #28

What's the testing story here? Anyone know?

For a quick & dirty look, I did `git grep test`. In there, I noticed circle.yml in the root directory, which I'm guessing is for testing on Circle CI.

From this...

https://github.com/stimulusjs/stimulus/blob/master/circle.ym...

Until you have a better idea of how to proceed, try this:

$ curl -o- -L https://yarnpkg.com/install.sh | bash

$ yarn

$ yarn test

I'm completely guessing here. I've never used Yarn before just now, but I suspect you'll find some of your answers in there.

Post reply on HN