Live data from Hacker News

Learn React.js in a weekend

nodecasts.io

21–30 of 49 posts

Re: Learn React.js in a weekend

#21
post #20

Earlier quoted context omitted.

or, you know, just write the app in pure javascript and still reap the benefits of [2-3x faster than React] virtual dom. though i'm a bit biased [1] ;) [1] https://github.com/leeoniya/domvm [2] http://mithril.js.org/

Meh since when is computational performance really a bottleneck? Do you find your site is loading seconds too slowly because JS is executing? I sure don't. On today's machines the much larger bottleneck is how fast and easily you can iterate on product at scale which is a problem that React is a fantastic solution for.

Actually I do find javascript making many sites that are ultimately just displaying text, so slow as to be unusable.

Re: Learn React.js in a weekend

#22
post #6

How about: RTFM https://facebook.github.io/react/docs/getting-started.html I don't get the react hype anyways. Writing inline HTML in JavaScript seems so weird to me (JSX).

JSX is entirely optional and it is easy to use React without it. (e.g., http://ludovf.net/reactbook/blog/reactjs-without-jsx-part2.h...)

(I hope the comment doesn't indicate that you think the interesting thing about React is JSX.)

Re: Learn React.js in a weekend

#23
post #20

Earlier quoted context omitted.

or, you know, just write the app in pure javascript and still reap the benefits of [2-3x faster than React] virtual dom. though i'm a bit biased [1] ;) [1] https://github.com/leeoniya/domvm [2] http://mithril.js.org/

Meh since when is computational performance really a bottleneck? Do you find your site is loading seconds too slowly because JS is executing? I sure don't. On today's machines the much larger bottleneck is how fast and easily you can iterate on product at scale which is a problem that React is a fantastic solution for.

[deleted]

Re: Learn React.js in a weekend

#24
post #21
post #20

Earlier quoted context omitted.

Meh since when is computational performance really a bottleneck? Do you find your site is loading seconds too slowly because JS is executing? I sure don't. On today's machines the much larger bottleneck is how fast and easily you can iterate on product at scale which is a problem that React is a fantastic solution for.

Actually I do find javascript making many sites that are ultimately just displaying text, so slow as to be unusable.

How do you know it's the JS executing and not network time or the result of a poor infra decision?

Re: Learn React.js in a weekend

#25
post #24
post #21

Earlier quoted context omitted.

Actually I do find javascript making many sites that are ultimately just displaying text, so slow as to be unusable.

How do you know it's the JS executing and not network time or the result of a poor infra decision?

Because it works great with JS turned off, and you can measure what is using your CPU an d what it is doing and how much time it is taking (also you can measure the network).

Re: Learn React.js in a weekend

#27
post #19

I don't recommend learning Redux the first weekend you learn React. This would be akin to learning about Relativity the first weekend you learn Mechanics. I actually think it's detrimental to suggest beginners learn Redux alongside React because it unnecessarily steepens the learning curve. Not that Redux is too complicated (it actually has a super simple API). Redux is a (fantastic!) tool you should use once your pr…

What stacks would you recommend for starting a React Native application of low complexity (like single man operation) and low-to-moderate complexity (like a several man seed-funded company)?

Re: Learn React.js in a weekend

#28
post #19

I don't recommend learning Redux the first weekend you learn React. This would be akin to learning about Relativity the first weekend you learn Mechanics. I actually think it's detrimental to suggest beginners learn Redux alongside React because it unnecessarily steepens the learning curve. Not that Redux is too complicated (it actually has a super simple API). Redux is a (fantastic!) tool you should use once your pr…

> I don't recommend learning Redux the first weekend you learn React.

Agree and so do others:

https://mobile.twitter.com/mjackson/status/74507491083006771...

Admittedly this may sound like "argument from authority", but I just mean that it's not an unpopular opinion. I've seen way too many people be too dogmatic about Redux. Core React is underrated.

Re: Learn React.js in a weekend

#29
post #19

I don't recommend learning Redux the first weekend you learn React. This would be akin to learning about Relativity the first weekend you learn Mechanics. I actually think it's detrimental to suggest beginners learn Redux alongside React because it unnecessarily steepens the learning curve. Not that Redux is too complicated (it actually has a super simple API). Redux is a (fantastic!) tool you should use once your pr…

What stacks would you recommend for starting a React Native application of low complexity (like single man operation) and low-to-moderate complexity (like a several man seed-funded company)?

If you don't need a server then React Native should basically be your entire stack. :)

Since you do probably need a server, I don't have an incredibly educated answer for you but I use Node + Mongo on AWS because it's cheap, easy, entirely JS, and seems like it'll scale reasonably well (to some point).

Re: Learn React.js in a weekend

#30
post #29

Earlier quoted context omitted.

What stacks would you recommend for starting a React Native application of low complexity (like single man operation) and low-to-moderate complexity (like a several man seed-funded company)?

If you don't need a server then React Native should basically be your entire stack. :) Since you do probably need a server, I don't have an incredibly educated answer for you but I use Node + Mongo on AWS because it's cheap, easy, entirely JS, and seems like it'll scale reasonably well (to some point).

I mean does an application being React Native change your opinion on using Redux or Relay?
Post reply on HN