Live data from Hacker News

Announcing Meteor 1.2 – ES2015, Angular, React, and More

info.meteor.com

101–110 of 140 posts

Re: Announcing Meteor 1.2 – ES2015, Angular, React, and More

#101

I don't keep up with meteor, but I have a question for those who do keep up to date on changes. Can meteor apps be isomorphic -- in the sense that they render plain HTML on the server during first load, and then do the javascript loading thereafter? I work on several client websites, and passable SEO is a requirement. I know there's some hackery you can do to get single page apps to be indexed, but I prefer when it "…

If I'm not mistaken every page on this site is React, rendered on the server: https://kadira.io/blog/ More info: https://kadira.io/blog/meteor/meteor-ssr-support-using-flow-...

It does indeed appear to be so - and it works great if you disable JavaScript. In fact, if anything, it works better if you disable JavaScript, because it doesn't flicker and jump around as it renders. You might almost be forgiven for wondering why it wasn't just exclusively rendered server-side, really, except it'd probably be heretical to conceive of such an antiquated idea.

Re: Announcing Meteor 1.2 – ES2015, Angular, React, and More

#102
post #15

I've recently been using Meteor on a couple small projects and so far like it quite a bit. My main frustration though is unit testing. While there's the official Velocity test runner, documentation and code examples for integrating and effectively using the frameworks is very confusing (I personally use Mocha). I know there's some books and blogs to help alleviate this, but there doesn't seem to be one (or even just…

Try this https://github.com/xolvio/Letterpress/tree/master/app/tests/... ES6 modules will change this approach somewhat, FYI

yeah, I'm aware of the Meteor testing manual. It has alot of good stuff, and for what I'm doing the link you mentioned mostly resembles my setup (although using mocha instead of jasmine). Just wish the testing was more "officially" documented with good examples and sample repos as opposed to buying a book. If you go on the meteor forums there is _alot_ of discussions on the different frameworks and how to piece things together.

Re: Announcing Meteor 1.2 – ES2015, Angular, React, and More

#103

I'm blown away by Meteor. Using Meteor and React is just buttery smooth. More and more companies are using React now in the startup space, and it's one of the most popular services on StackShare: http://stackshare.io/meteor React integration is a first-class citizen: http://sergiotapia.me/2015/09/18/react-and-meteor-match-made... No weird hacks, lib includes and other nonsense you shouldn't really care about. And you…

Are there any good guides/videos on getting started with Meteor+React?

Re: Announcing Meteor 1.2 – ES2015, Angular, React, and More

#104
post #56

My go to stack for personal projects is React Node Postgres, while Meteor looks great I just can't live without the sweet built in postgres features like trigger functions. I'm on the lookout for a rails like framework because right now I tend to code everything by hand. Will give it an honest try once they support MySQL or pgSQL.

Have a look at the phoenix framework, written in elixir. While there aren't that many drag'n'drop solutions available than in meteor, everything is rock solid, fast and fault tolerant. Oh, and it is very familiar for rails developers, while also having powerful channel abstractions (incl websockets, meteor's secret sauce), postgres as default, and native implementations of channels for ios/android clients.

Re: Announcing Meteor 1.2 – ES2015, Angular, React, and More

#105
Meteor is awesome! Really happy to see these latest changes - I'm excited to get started with ES6 and also get away from Blaze and start using React. As soon as they release SQL support, Meteor is really going to take off.

For those of you on the fence about using meteor, I highly highly recommend it. It's silky smooth and really easy to get a basic webapp up and running (check out https://github.com/themeteorchef/base for a great starter repo that I use all the time)

Re: Announcing Meteor 1.2 – ES2015, Angular, React, and More

#106
post #63
post #20

Earlier quoted context omitted.

I'll jump on when they have first-class support for a DB that isn't Mongo.

If you don't mind spinning up your own server instances, our open source mobile JSON stack handles application level concerns like access control and data routing. Might be worth taking a look, as it gives you access to a whole open source ecosystem with support from multiple vendors and for most platforms. http://developer.couchbase.com/mobile [edit] Here's a little hello world tutorial I wrote a few months ago with…

Why on Earth was this downvoted? Seems relevant and useful to me.

Re: Announcing Meteor 1.2 – ES2015, Angular, React, and More

#107

I'm blown away by Meteor. Using Meteor and React is just buttery smooth. More and more companies are using React now in the startup space, and it's one of the most popular services on StackShare: http://stackshare.io/meteor React integration is a first-class citizen: http://sergiotapia.me/2015/09/18/react-and-meteor-match-made... No weird hacks, lib includes and other nonsense you shouldn't really care about. And you…

Are there any good guides/videos on getting started with Meteor+React?

There is an official guide: https://www.meteor.com/tutorials/react/creating-an-app

Re: Announcing Meteor 1.2 – ES2015, Angular, React, and More

#108

I'm blown away by Meteor. Using Meteor and React is just buttery smooth. More and more companies are using React now in the startup space, and it's one of the most popular services on StackShare: http://stackshare.io/meteor React integration is a first-class citizen: http://sergiotapia.me/2015/09/18/react-and-meteor-match-made... No weird hacks, lib includes and other nonsense you shouldn't really care about. And you…

Are there any good guides/videos on getting started with Meteor+React?

They have a pretty "getting started" on their site: https://www.meteor.com/tutorials/blaze/creating-an-app

Re: Announcing Meteor 1.2 – ES2015, Angular, React, and More

#109
post #44

Earlier quoted context omitted.

I'm curious - do you think there is room for someone to come along with the right combination of stuff to become the "de facto platform for all web development"? It's interesting also that people always talk about Rails but don't mention JSP and .NET, which I think are actually a lot more popular last time I looked around. I guess it depends on who you ask. I feel like JavaScript is in a sweet spot right now because…

Good question. I think Meteor is certainly the closest of such platform at the moment, but you don't have to go far to find a developer who really hates JavaScript and will never switch over. Such hate may or may not be justified, but you won't easily change their minds. At the same time, there are people - including me - who only develop with JS with no real need to switch over to something else. I wish I had a more…

I've messed with it some, and so far, I'm not seeing what the advantage is on using Javascript on the server rather than Ruby or some other more advanced dynamic language. Ruby seems to have more advanced features and a better ecosystem around it.

Re: Announcing Meteor 1.2 – ES2015, Angular, React, and More

#110

So, one thing holding me back from using MongoDB (and thus Meteor) is a lack of understanding how schema can be managed. Say in MongoDB you are storing documents in a collection such as { property: "" }, and decide you want to change that to { property2: "" }. Does that mean you have to script a change to every document to convert these objects?

in this case "renaming a field" it would be something like

`Collection.rename('property', 'property2')`

my syntax may be slightly off since i mostly use mongo thru a ruby orm but the basic idea is the same.

we handle these things by having a tasks we run each deployment (named after the deployment version) with the necessary db changes.

Post reply on HN