Rubylike Frontend [video]
pivorak.com
pivorak.com
I don't see a custom language ever breaking into the mainstream unfortunately. You just can't resist an entire ecosystem when the ecosystem is making good moves as a whole. Typescript is a revolution, the dev experience is really good. There are some promising bundlers like Parcel/Pundle that combined with some more mature HMR solutions will really push things forward too.
I'm much more excited on the IDE side now. I think VSCode will start to push really powerful updates and that will really make a huge difference day to day for many developers.
The other big thing that needs to improve is out of the box is databases. Something easy to deploy, with shared models between front/backend and that scales. Even a great layer over SQL. We have Firebase, but it's unfortunate Rethink and Parse went away. Pouch is languishing. Mongo seems to have something new but it's hosted only (?).
This detail matters because it’s much easier and lower risk for a team to add a Babel preset than to learn a new language.
I do appreciate people in the community thinking about how we can get to a more enjoyable developer experience. JS development is full of quirks and complexity that other parts of the web stack aren't burdened with. Many great developers come to JS and feel frustrated with the language and all the work-arounds that JS devs take for granted. Whenever I work on the Rails server-side of a project I yearn for the simplicity and elegance when I go back to the front end. That said, Java makes my brain hurt, so maybe I just gel with Rails really well.
No it is not data. We pass props to components, just like you pass variables to print function in C. printf("Hello %var", var)
Too bad people like to name props: {props.data} thus confusing others.
Like I said in the video, it's direct implication of how Virtual DOM works. Normally you wouldn't do that.