News for hackers. Stuff that matters.

hughbetcha

You're missing the point. Nevermind.
Please reread my post. The function parameter is the name.
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.
Re:React Server on Thursday August 11, 2016 @08:31PM (#12272748)
> 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.

Re:React Server on Thursday August 11, 2016 @07:04PM (#12272311)
Thanks. That should be the very first line in the documentation.
Re:React Server on Thursday August 11, 2016 @06:46PM (#12272196)
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?
Re:React Server on Thursday August 11, 2016 @06:43PM (#12272173)
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?

Re:This JPEG is also a webpage on Wednesday August 10, 2016 @06:11PM (#12265084)
Cette jpg est pas une pipe.