https://kotlinlang.org logo
#http4k
Title
# http4k
d

dave

02/22/2021, 4:50 PM
@Saša Šijak you can find react and hotwire examples in the example repo : https://github.com/http4k/examples
👍 1
s

Saša Šijak

02/22/2021, 5:26 PM
React example is not using it is to server render React or something like that, http4k serves it as a normal SPA after it is built from what I can see. But, it is a nice example on how to call node/yarn tasks from Gradle, so it would be useful for me. I would probably then just use Webpack to process CSS assets (with something like PostCSS) and maybe images and integrate that through Gradle in a similar way. Hotwire examples are cool, definitely will try that
d

dave

02/22/2021, 5:36 PM
ah - yes - you're right. I'm not too familar with Server rendered React. If you get it working and would like to share that would be amazing 🙂