Welcome to my Weekly Digest #7 of this year.
This weekly digest contains a lot of interesting and inspiring articles, videos, tweets, and designs I consumed during this week.
Storybook is a fantastic tool to share the current state of your UI with your team.
When it comes to network requests things get a little tricky. React’s Higher Order Components (and similar techniques) help you move network requests out of your components into their own layer.
[Storybook Axios addon](https://www.npmjs.com/package/storybook-axios) helps you to see what data is sent to the backend and returned; either from the API or the mock. That way you can debug your connected components as you build in Storybook.
In UNIX-based programming, we often talk about shells, terminals, and the command line interfaces. Bash is probably the most well-known, but there are other widely-used options as well, such as Zsh or the Z shell. Read on to learn more about Zsh and some tips and tricks to optimize your development.
How and why you should use CSS variables (custom properties) for theming instead of React context by Kent C. Dodds.
When you want to display a list of items to a user, I'm afraid
.join(', ') just won't cut it.
Intl.ListFormat can do all you need and more.
tsc) as well as language support in editors like VSCode give you a great developer experience without any compilation step.
Learn the fundamentals of Dgraph - an open-source Graph Database that implements GraphQL as its query language.
This video builds on the previous sine wave visualization in p5.js example. Here, I build a Wave class with variables for period, amplitude, and phase, and demonstrate how to add multiple wave patterns together!
Guide on Domain-Driven Design, Hexagonal architecture, techniques, tools, best practices, architectural patterns, and guidelines gathered from different sources.
Guide on Domain-Driven Design, Hexagonal architecture, best practices etc.
This repo is work in progress
Main emphasis of this project is to provide recommendations on how to design software applications. In this readme are presented some of the techniques, tools, best practices, architectural patterns and guidelines gathered from different sources.
Everything below should be seen as a recommendation. Keep in mind that different projects have different requirements, so any pattern mentioned in this readme can be replaced or skipped if needed.
Though patterns and principles presented here are framework/language agnostic, so above technologies can be easily replaced with any alternative. No matter what language or framework is used, any application can benefit from principles described below.
Note: code examples are adapted to TypeScript and mentioned above frameworks so may not fit well for other languages. Also remember…
A tool to understand your bundle size and why files are in your bundle.
The design document for the project is here: https://docs.google.com/document/d/1ycGVBJmwIVs34yhC0oTqv_WH5f0fs2SAFmzyTiBK99k/edit
The TODO list for the project is here: https://docs.google.com/document/d/1lStU7UmfwqgSmyhAgM7jtpQNcoI2czmPeLuC0-gNn7g/edit
The legacy version of bundle-buddy (still installable via npm) can be viewed here: https://github.com/samccone/bundle-buddy/tree/5b79c7645677e78d29f0201aad582a346b88122a
gcloud command you will need to install: https://cloud.google.com/sdk/docs/#install_the_latest_cloud_tools_version_cloudsdk_current_version
Then you can deploy the project using:
Rik Schennink📱 TIL about the Visual Viewport API
⌨️ When opening a soft keyboard `window.innerHeight` will stay the same but `visualViewport.height` won't!
📡 Even better, you can listen for `resize` and `scroll` events on the `visualViewport` object.
🎉 developer.mozilla.org/en-US/docs/Web…08:51 AM - 16 Feb 2021
Talk to you next week and stay safe! 👋