CurtisFlaming Profile Banner
Curtis Flaming Profile
Curtis Flaming

@CurtisFlaming

Followers
7
Following
2K
Media
14
Statuses
118

Joined January 2020
Don't wanna be here? Send us removal request.
@housecor
Cory House
2 years
Problem: You’re using msw (@ApiMocking) to mock out HTTP calls during development and automated testing, and you want to dynamically change the mock responses for different scenarios. Solution: Here are three options: 1. Read an environment variable in the handler that
13
16
155
@alexxubyte
Alex Xu
2 years
How does REST API work? What are its principles, methods, constraints, and best practices? I hope the diagram below gives you a quick overview. -- Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/C9OIBVgldV
7
150
595
@EisenbergEffect
Rob Eisenberg
2 years
@claviska If I had to pin it down to only one thing, it would be culture. There is a perfect storm of several factors that has caused the rapid descent over the last 10 or so years. Here are a few recurring themes I've seen as a consultant, trainer, and engineering leader during that time:
9
26
120
@jh3yy
jhey ʕ•ᴥ•ʔ
2 years
CSS Trick 📏 Auto resizing textarea and input with one line 🔥 textarea, input { field-sizing: content; } Read all about it in Steph's article 👇 It's landing soon! https://t.co/emDl43GvGO
@seaotta
Stephanie 🔮 Web Witch ( 🦋 @seaotta.dev)
2 years
📚New on the blog: Better form UX with the CSS property `field-sizing` https://t.co/I9RQYoTx7d
11
138
1K
@stolinski
Scott Tolinski - Syntax.fm
2 years
I changed my default search engine to @perplexity_ai It rules. It really shows just how bad Google has gotten lately.
5
3
45
@jh3yy
jhey ʕ•ᴥ•ʔ
2 years
CSS Tip! 🤯 You can create a CSS-only version of this balance slider using a scroll animation on the underlying input[type=range] 🚀 ::-webkit-slider-thumb { view-timeline: --thumb inline; } Scroll animation driven by the slider thumb animates a number between the "min" and
@MalayVasa
Malay Vasa
2 years
Prototyped a balance slider today ✨ How do you like your coffee?
52
290
3K
@DanHollick
Dan Hollick
3 years
Do you just click different blending modes until it sort of looks right? Well, that probably won't change after you read this but at least you probably won't use Lighten or Darken again. (you should bookmark this thread and use it as a reference)
83
8K
29K
@wesbos
Wes Bos
2 years
React Server + Client Components Visualized There is a bit of a learning curve to learn new patterns, but the ease of going between client and server will be worth it.
32
118
1K
@tannerlinsley
Tanner Linsley
2 years
So it turns out that if you add a few more lines of output to @Tan_Stack Router's routetree codegen and allow the generator to look for separate .route, .loader ,and .component files and create a few more type safe utilities and expose another declaration mergeable interface, you
6
2
151
@jherr
Jack Herrington
2 years
Eslint fans, is there some kind of "perfect code" setup out there that involves enabling 1,000+ eslint rules, all set to error level? Do you have a project that is set up like that? Or a boilerplate? I'd love to see what the DX is on that.
28
6
114
@jh3yy
jhey ʕ•ᴥ•ʔ
2 years
– One HTML attribute – One JavaScript event listener – Configurable via CSS custom properties Let's get this explodin' 🤙
54
336
4K
@bytebytego
Bytebytego
2 years
How to design effective and safe APIs? The diagram below shows typical API designs with a shopping cart example. Note that API design is not just URL path design. Most of the time, we need to choose the proper resource names, identifiers, and path patterns. It is equally
10
200
928
@bytebytego
Bytebytego
3 years
Git merge vs. Git rebase. The forever debate.  What are the differences? When we merge changes from one Git branch to another, we can use ‘git merge’ or ‘git rebase’. The diagram below shows how the two commands work. Git merge This creates a new commit G’ in the main branch.
19
302
1K
@alexxubyte
Alex Xu
3 years
Important Things About HTTP Headers You May Not Know! HTTP requests are like asking for something from a server, and HTTP responses are the server's replies. It's like sending a message and receiving a reply. An HTTP request header is an extra piece of information you include
10
242
902
@samselikoff
Sam Selikoff
3 years
that is... not a lot of code
32
163
3K
@alexxubyte
Alex Xu
3 years
/1 How many API architecture styles do you know? Architecture styles define how different components of an application programming interface (API) interact with one another.
28
312
1K
@asidorenko_
Alex Sidorenko
3 years
During conditional rendering, to preserve a component state, return it from the same position in the tree.
13
26
363
@bytebytego
Bytebytego
3 years
Cache Systems Every Developer Should Know - Client-side cache - Load balancer cache - CDN cache - CPU, RAM, Disk cache - Message broker cache - Database cache Watch and subscribe here (YouTube video):  https://t.co/hS5Yucz6FI
1
167
604
@alexxubyte
Alex Xu
3 years
/1 What is the best way to learn SQL? In 1986, SQL became a standard. Over the next 40 years, it became the dominant language for relational database management systems. Reading the latest standard (ANSI SQL 2016) can be time-consuming. How can I learn it?
21
287
1K
@asidorenko_
Alex Sidorenko
3 years
When structuring your Server and Client Components in Next.js 13
12
64
618