Better HN
topnewbestaskshowjobs
Log inSign up

hughbetcha

16 karma · joined Aug 10, 2016 (10y ago) · 8 submissions

Submissions

comment 10y ago · link · parent

You're missing the point. Nevermind.

comment 10y ago · link · parent

Please reread my post. The function parameter is the name.

comment 10y ago · link · parent

To be fair, the article would be more aptly titled "Recursion without function names". In any recursion you need a way to reference the original function somehow. They're using a function parameter to accomplish that via indirection.

comment 10y ago · link · parent

> Each page is split into sections. Each section may wait for async data and API responses. When all the data arrives, the section is rendered as an HTML string.

Where are these waiting sections? On the browser client or the server?

Is the React code that is to be rendered on the browser served up automatically by ReactServer?

I'm sure it's a wonderful framework, but a diagram is really needed to understand any of this.

comment 10y ago · link · parent

Thanks. That should be the very first line in the documentation.

comment 10y ago · link · parent

Is each page pushed to the browser in a static fashion? Or does ReactServer implement minimal client DOM updates in a similar manner to React?

comment 10y ago · link · parent

Would be useful if this project explained the difference between React and ReactServer. It seems they are as similar as Java and Javascript.

Instead of the render() method in React to output JSX, it appears that ReactServer uses getElements() for a similar purpose. So the entire model and object lifecycle is probably different as well?

comment 10y ago · link · parent

Cette jpg est pas une pipe.