You ever look at a web site and think: “Everything is either a potato or not a potato…” and more ( or less? ) importantly: ”This web site would be great as an app!”? If you did, you’re not alone, buddy boy!
Some very cool folks over at Internet HQ ( don’t fact check this just blindly believe that it exists ) that govern how the internet behaves agree with you ( the potato thing AND the web site as an app thing! WOW! Look at you go! ).
They introduced a concept called Progressive Web App — PWA, for…
DISCLAIMER: Restpollo isn’t an official Apollo project. They did such a good job with React Apollo that it inspired me to create a simplified version for communicating with a REST API using React components and function as children pattern.
I don’t hide the fact that I’m a HUGE fan of React ( LINK ), GraphQL ( LINK ), Apollo ( LINK ) and Apollo’s React components ( LINK ).
When Apollo React rolled out version 2.1 they introduced components for querying, mutating and subscribing to a GraphQL backend… this blew me away! …
A long a$$ time ago I created a simple React component that would lazily load an image and while it’s busy loading an image it would show a placeholder and wrote a tutorial how I did it. It is inspired by Polymer’s iron-image and a neat little trick how to transition from placeholder to loaded image.
While playing around with Polymer (shameless LINK to another article I wrote) I learned that you can make a pretty cool “Blur Up” animation by taking the image you want to show, scaling it down to 1% of its width and height, using that…
It should come as no surprise that I’m a HUGE functional programming fanboy — shameless plug for an older blog post (Link).
So what makes functional programming so gosh darn good, you ask?
Well then, generic reader I’m imagining right now, let me tell you how you and your code can benefit from going functional.
Even if you don’t know what functional programming is you’ve probably been using map, filter and reduce just because they’re so incredibly useful and make your code stink less by allowing you to write cleaner logic.