Meetup 4: Continuing Dream Web Server development
I led the session today. We managed to,
- We'll be replace the hello world html printing router in from the last session on Dream, with a server side rendered Hello World react component.
- Replace the hello world component with a simple click counter
- Setup frontend stack: the react component in the previous step will be compiled to JS with Melange and bundled with Webpack.
- See React component hydration at work from a natively compiled website that rendered the react component
We were joined by organisers of two other communities, Anupam from Functional Programming, India and svs from The Engineering Org
Next meetup: May 26th, 2pm.
We learn how Melange compiler works with a build system to generate JS artifacts. We see how webpack-reason-loader was built and try to integrate it with this website here You can find the code repository on Github org. You can reach out me on X at @ManasJayanth if you have any trouble. I recommend you set it up and install the dependencies to save time during the call :)
Please reach out to us on Discord if you're lost setting up the tools.
Stay in touch with us
Twitter: https://twitter.com/ReasonBangalore