Two in a row! We have a streak going on now as far as organizing front-end meetups go. This time we were welcomed by Le Wagon - Mauritius. Many thanks to Zakiya B from FINAM who helped me get in touch with Basile M in order to secure this location.
After spending the previous night working on my two presentations, powered by sli.dev, I was greeted with a nice rainbow morning view on Saturday 21st of May at home.
Morning of May 21st
I reached there around 9.30AM and met with Billy who was representing Le Wagon. He was very helpful and accompanied us throughout the meetup. Once the projector was setup, we waited a few more minutes for attendees to reach then kick off the meetup.
Everyone was seated and ready to go, and to start things I made a quick intro about what/who/why of the Front-end Coders made a few announcements and introduced our speakers for the day.
- Our meetup.com subscription is cancelled.
- We have new website, and hopefully a proper domain soon : https://front-end-coders-mauritius.netlify.app/
- We aim at continuing regular in-person meetups! Next topic : UX in June
- We have a discord! https://discord.gg/WxXW9Jvv6k
She spoke about Keys in react, and how their use case go far beyond rendering lists. There were very interesting demos and explanations around some common bugs that could occur when keys are misused. I thought this was very insightful and most of the recommended patterns in this session also apply to other frameworks such as VueJS.
Saamiyah also spoke about how react works internally so that some of the re-rendering behaviors made more sense.
Zeeshaan Maudarbocus - Demoing Memoisation in REACT
I met Zeeshaan during a Code & Coffee session some months ago where he expressed his fondness of react. When the react meetup was set in motion, i contacted him for a potential talk and he was very positive about doing it! This session was very lively, and we got to know more about specific scenarios regarding memoisation in react, i.e when does something re-render, when can we avoid unnecessary re-renders and why is that important.
To me, Memoisation appeared to be techniques of Memory Optimization, now i'm wondering if the former word is a mashup of the latter. Zeeshaan mentioned that any app should work the same without these techniques and only apply them at a later stage.
One of the slides read as follows :
Make it Work
Make it Right
Make it Fast
One of our speakers had a personal issue and couldn't attend. We wish him a speedy recovery. He informed me a few days before the meetup and Ish was kind enough to do a presentation on short notice.
Ish Sookin - demonstrating NGINX configuration for SPAs
Ish explained how to host an SPA using NGINX configuration. This was the first time I actually understood how that conf file works and now it all makes sense.
Hosting SPAs are slightly different from normal server-rendered applications since the routing should be delegated to the browser and not the web server. In this case the web server only needs to redirect to the
index.html page and leave the rest to the browser.
There were a few questions about tweaking the NGINX conf and also about how to handle errors and status codes with this configuration as it appeared everything would always return status 200. Some of the solutions was to hard redirect to a predefined 404 page.
After 3 presentations lunch arrived ! Le Wagon made arrangements to get pizza's from Yo L'artisan, which coincidentally is one of my favorite pizza places!
We had a 30 minutes break for lunch and networking. I spoke to a few people, some who had just participated in the recent WebCup and some who attended the front-end coders meetup for the first time. The atmosphere was buzzing with lots of tech talks, which was very nice to see. That's the real goal of meetups ;)
I clearly wasn't having a great hair-day. :|
I presented the last topic of the day, which was ViteJS and shared my experience of working with it. We had to go down memory lane, explaining how the web works, how bundlers came into existence and why they seemed to be no longer needed.
Sandeep Ramgolam - Speaking on ViteJS
Vite can also be used without any framework, and just as a dev web server.
Many people had not heard of Vite before and it was quite nice to demonstrate how fast it is, and how it achieves that kind of speed.
I should probably work a little more on my slides for next time as it was very bare bone and not too visual.
We had some logistics to record the session on a laptop along with microphones and a backup audio, however that'll require some more time to get online. The video might have frozen at the start, so no promises on that one. Sorry !
While packing up we were discussing continuing the networking sessions and I spoke to a few more new faces. This meetup was really nice and we're looking forward the next one ! Unfortunately I forgot to ask everyone for a group photo during lunch, so we did that after the meetup, but some people had already left by then.
Special thought for our friend Joshua who managed to make it to the parking of LeWagon but then had to go back. Next time !
Front-end Coders Meetup - Group Photo (MASKS ON)