News for hackers. Stuff that matters.
Re:IHP v0.17.0 has been released by cies on Tuesday December 14, 2021 @07:39AM (#29550942)
I'd not say React is big. Sure it's big in name. But compared code-wise to Angular it's tiny, and just handles the view-side of things.

Besides that I'm not sure what you say is correct. It seems IHP uses HSX, something similar to JSX, but not JSX itself, nor React. The only place I see React mentioned is as a dependency of their "Guide" (some documentation hub their run):

https://ihp.digitallyinduced.com/Guide/index.html

The search widget in the top right uses React, but that's all...

Re:IHP v0.17.0 has been released by austincheney on Tuesday December 14, 2021 @07:43AM (#29550963)
The React dependency is mentioned in the documentation linked from their code example: https://ihp.digitallyinduced.com/Guide/realtime-spas.html
Re:IHP v0.17.0 has been released by lolinder on Tuesday December 14, 2021 @09:17AM (#29551705)
The first header after Introduction:

> Todo List App

> Adding React to your IHP project

The first sentence of that section:

> To access the JavaScript ecosystem we need to add NodeJS to our project.

Both the header and this first sentence imply that this is an optional add-on, not a dependency.

I can also speak from experience and tell you that there is no dependency on react. I've played around with IHP and in its default form the stack resembles Rails: Haskell renders HTML with forms, which submit data to the Haskell server via POST. No JavaScript required at all, much less React.

Re:IHP v0.17.0 has been released by kodefant on Tuesday December 14, 2021 @08:39AM (#29551340)
Personally I am using DataSync like described in the docs, but with Elm, so React is just an option for using this API, not a requirement :)
Re:IHP v0.17.0 has been released by cies on Wednesday December 15, 2021 @05:11PM (#29572226)
Any link to an example project or details on how to achieve this?