March 2022 Newsletter
[TODO some description]
Contents 📋
News & Explore
As the projects are growing, all the needs are changing constantly. So, each tool and each library is solving something different. Why not check them and use them?
Multiple Database connections with Prisma
Growing projects might need multiple schemas or databases. Why not use Prisma for all.
Multiple DB in Prisma (opens in a new tab)
File Structuring
In the programming world, there are 2 things that are hard.
- Naming variable
- File structure
We might get inspiration for the second one. The first one is still a big debate 🤣.
File/Directory Structure (opens in a new tab)
React 18 has now released
React 18 is now available on npm!
- Automatic batching
- Transitions
- New Hooks
React v18.0 – React Blog (opens in a new tab)
Architecture hints
As more growing projects come along, the architecture and the alignment on how things are handled is key. This article might be a long read, but there are definitely different perspectives that you can get.
Tao of Node - Design, Architecture & Best Practices (opens in a new tab)
Nvidia Instant NeRF
No, it’s not what you think as a NeRF. It’s Nvidia’s latest neural rendering model for 3D scenes, and it’s rendering that scene from multiple 2D images in seconds.
NVIDIA Blog (opens in a new tab)
React Native Architecture updates
The React team has already announced this year (2022) as a New Architecture year. So, React Native is getting architecture changes.
React Native Blog (opens in a new tab)
Flutter vs React Native
This article about the long-running debate between frameworks has a better explanation and a deep dive on each topic.
Flutter vs React Native (opens in a new tab)
Proposal for JavaScript syntax from Typescript developers
Writing Typescript and compiling it to JavaScript then running is not the best way. So, there is a new proposal that hopes to solve compiling.
A Proposal For Type Syntax in JavaScript (opens in a new tab)
Libraries
NodeJS: has released v17.8 (opens in a new tab)
perf_hooks adds HTTP tracing.
Deno: has released v1.20 (opens in a new tab)
Supporting TS v4.6 and V8 engine is upgraded to v10.
MDX: has released v2.1 (opens in a new tab)
Bugfixes and minor adjustments.
RollupJs: has released v2.70 (opens in a new tab)
Adjustments and fixes.
NestJs: has released v8.4.3 (opens in a new tab)
Casual updates, adjustments, and fixes.
Challenge
This week we have a list of times in a 24 hour period. What you need to do is find the smallest interval between two times in the list. Example and input for you:
smallestTimeInterval(["01:00", "08:15", "11:30", "13:45", "14:10", "20:05"]);
// '25 minutes'(13:45 - 14:10)