Live data from Hacker News

Don't React

staltz.com

61–70 of 131 posts

Re: Don't React

#62

I think that author is completely right about the part, that React has the only one reactive part — its render function. But I don't see why it makes React bad. I think it is great, fast and easy to use. By the way, virtual-dom is a little bit early to use for production application. For example, if you have some elements in your vdom, that are changing after you render it (i.e. like buttons, embeded posts, etc.), vi…

>By the way, virtual-dom is a little bit early to use for production application. For example, if you have some elements in your vdom, that are changing after you render it (i.e. like buttons, embeded posts, etc.), virtual-dom will be totally confused and unpredictable. On the one hand, yes, and on the other hand, I have never in practice had this happen when it was not my fault. I've also never had it be my fault un…

For example, embedded FB post. In React you can deal with it using componentShouldUpdate and others. I don't know how to deal with it in virtual-dom (package), without going deep into patching algorithm.

Re: Don't React

#63
post #38

Coming from a jQuery background, I'm intrigued by ReactJS (especially JSX and components). However, I've also been reading up on Meteor and find it very impressive (if you're willing to consider an end-to-end framework). I didn't notice any mention of Meteor as an example of a true reactive framework in his presentation.

You should learn Javascript

Re: Don't React

#64

Do people really consider Grunt dead?

I'm also curious. I don't use grunt because my daily workflow is almost entirely in Visual Studio, but I though grunt was the go-to for automation tasks.

Maybe the author meant that there is a lean towards gulp over grunt? Not sure. but my company still uses grunt in production

Re: Don't React

#65

To me it doesn't matter what React likes to think it is, to me as a front-end developer all that matters is the tool that I choose can do the job. React is just another tool, in a way it is like jQuery: it doesn't do everything and it shouldn't be used for things that need something else more full figured or suited for the task at hand. I think Facebook do a great job explaining what React is and as far as I am aware…

typo: Facebook ARE dogfooding

[deleted]

Re: Don't React

#66

I think that author is completely right about the part, that React has the only one reactive part — its render function. But I don't see why it makes React bad. I think it is great, fast and easy to use. By the way, virtual-dom is a little bit early to use for production application. For example, if you have some elements in your vdom, that are changing after you render it (i.e. like buttons, embeded posts, etc.), vi…

2x (it's --> its)

Re: Don't React

#68

To me it doesn't matter what React likes to think it is, to me as a front-end developer all that matters is the tool that I choose can do the job. React is just another tool, in a way it is like jQuery: it doesn't do everything and it shouldn't be used for things that need something else more full figured or suited for the task at hand. I think Facebook do a great job explaining what React is and as far as I am aware…

I find it unreasonable that the author is getting flack for promoting his cycle.js. If he had just criticized react.js and offered no solution, everyone would be saying, "well, what am I supposed to do if I'm not supposed to use react?"

Re: Don't React

#69

For anyone else who, like me, didn't realize it - there's a little triangle on the bottom right to let you go through the presentation.

Didn't see that, but ended up eventually tapping the right arrow just to see if it would do anything and it went to the next slide.

Re: Don't React

#70
The presentation has some really great points; it's a shame that it's wrapped up in so much FUD.

But from what I can tell, it does seem like React is moving in a more reactive direction.

One example: https://github.com/facebook/react/issues/3398 Another (not sure if this counts, but I think it does): https://github.com/reactjs/react-future/blob/master/09%20-%2...

Post reply on HN