Recently had to optimize a project that heavily depended on APIs. implemented quite a few features regarding perceived performance improvements, but haven’t done anything with optimistic UI pattern. came up with small, but powerful, React hook use-optimistic-update that helps with building predictable UIs.
The React hook – https://www.npmjs.com/package/use-optimistic-update
A short introductory blog post – https://karolis.sh/blog/optimistic-ui-in-practice
from Building Optimistic UI with no effort https://ways4eu.wordpress.com/?p=25122
(Deutsch) Mounting von React Lifecycle-Methoden
Art Quote of the Day
“The defining function of the artist is to cherish consciousness.” – Max Eastman
Mystic Mountain Monster being Destroyed

Inside the head of this interstellar monster is a star that is slowly destroying it. The huge monster, actually an inanimate series of pillars of gas and dust, measures light years in length. The in-head star is not itself visible through the opaque interstellar dust but is bursting out partly by ejecting opposing beams of energetic particles called Herbig-Haro jets. Located about 7,500 light years away in the Carina Nebula and known informally as Mystic Mountain, the appearance of these pillars is dominated by dark dust even though they are composed mostly of clear hydrogen gas. The featured image was taken with the Hubble Space Telescope. All over these pillars, the energetic light and winds from massive newly formed stars are evaporating and dispersing the dusty stellar nurseries in which they formed. Within a few million years, the head of this giant, as well as most of its body, will have been completely evaporated by internal and surrounding stars. via NASA https://ift.tt/3egznkQ
Wikipedia article of the day for May 25, 2020

Wikipedia article of the day is Hurricane Fred (2015). Check it out: https://ift.tt/1O3nuf4 Summary: Hurricane Fred was the easternmost Atlantic hurricane ever to form in the tropics, and the first to move through Cape Verde since 1892. The second hurricane of the 2015 Atlantic hurricane season, Fred became a CategoryΒ 1 hurricane on AugustΒ 31 as it approached Cape Verde, which was placed under a hurricane warning for the first time ever. The Barlavento Islands endured gales and flooding rains as the eye of the hurricane paralleled their shorelines. Structural damage across Boa Vista and Sal presented as leveled roofs, damaged homes and toppled utility poles. Farmers on SΓ£o Nicolau suffered crop and livestock losses when they saw their lands flood. Fred’s rains, though destructive, alleviated a drought across the Sotavento Islands of Cape Verde. Elsewhere, violent seas along the West African shoreline destroyed fishing villages and submerged homes in Senegal. Between the coasts of West Africa and Cape Verde, nine people died in maritime incidents.
Picture of the day for May 25, 2020

Wikipedia picture of the day on May 25, 2020: Winged altar at the pilgrimage church St. Wolfgang ob Grades, municipality of Metnitz, Carinthia, Austria. Shrine statues by an anonymous master probably of the elder Villach Workshop, 1490; reliefs and arrangement by the younger Villach Workshop, around 1520. https://ift.tt/2ZxKUIt