w/out a clear way to pass a callback to a child route in router v6, #react redux seemed like the best way to pass data back to a parent component and amazingly it worked using a dispatch
think i've finally got a handle on #reactjs tho i have some complaints i'd like to speak to the manager about
- HOCs vs hooks, googling issues leads you to the former which req add'l libraries like recompose and end up being too clever by far. hooks are the simpler way to go.
- routes, implemented very diff in v6 vs v5 and googling can lead you down a very wrong path.
- just overall lack of a single way of doing something common like a basic crud app.
overall, a very powerful flexible framework.
Flettner rotor sails! i remember hearing about them like 15 years ago, they seemed like magic then and they still do now, hopefully they can help contribute to the greening of the shipping industry 🌬 🚢 https://www.youtube.com/watch?v=MdI191-vNlc
saw the JWST a few years ago when it was still under construction at Goddard, now it’s got a launch date and if all goes as planned it will provide an entirely new view of the universe much like Hubble did 🛰🪐 https://www.quantamagazine.org/why-nasas-james-webb-space-telescope-matters-so-much-20211203/
in a moment of sadomasochism, i decided to deep dive into reactjs. i then added a helping of self-flagellation by doing it via #kotlin #react wrappers which are hilariously unstable and buggy. i abandoned those efforts after about an hour and reverted to standalone react but aside from some weird ssl issues w/node latest (reverted to lts) i have been making headway 👨🏻💻
connecting to #mariadb via ktorm turned out to be ridiculously easy #kotlin https://github.com/ssoper/Baochuan/commit/961e9022924284bb564ca8b08af1aada2e256be2
making the most of Java’s ZonedDateTime to check for us federal holidays that fall during the week https://github.com/ssoper/Baochuan/commit/69a8ec89008f92be8804a5402f160b2be89e3821#diff-92209ab44fe6746f213420745cbc1468dccd36edb8b186af6ce4c3e55aceec41R1
owing to hosting 20 people, ended up getting 2 birds, first was your standard grocery store turkey which i deep fried and the second a locally raised heritage bird which was roasted 🦃🍁🍽 hope all had a wonderful #thanksgiving
developer 📱 traveler ✈️
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!