So long, 2.0. Catch you on the flip side.
Houston, we have lift-off… Last week, Apollo blessed us with the major release that we’ve been waiting 11 long months (and 55 betas) for.
For the uninitiated, here’s the quick Apollo Client elevator pitch from CTO Matt DeBergalis:
“In many ways, what React did for UIs, that’s what Apollo does for your API: it brings structure to it so that you can focus on the specifics that have to do with your app and your data and leave the plumbing and complexity to the system as a whole.”
Highlights from Apollo Client 3.0
The Bottom Line
GraphQL’s value prop has always been about offering a more efficient and customizable API experience than standard REST APIs. But since generic HTTP caching doesn’t work with GraphQL, it needs a library like Apollo to make it useable for larger, more complex applications that rely on caching. That’s probably why Apollo Client says they’re focused on being “not just a library for executing GraphQL operations, but a library for interacting with a client-side data graph.”
The new features in Apollo Client 3.0 double down on that mission and provide tools that should help accelerate the trends we’re already seeing towards greater UI reactivity. And considering that Apollo Client accounts for 95% of all GraphQL uses (according to CTO Matt), that’s a pretty big deal.
Adobe releases React Spectrum, validating my theory that every company has a project called Spectrum
Get the best triple play deals on Cable TV, High Speed Internet, and Home Phone Service.
Beyonce was right… Pretty hurts. But luckily, Adobe just made it a little easier to create pretty (and accessible) React apps by releasing React Spectrum last week. It’s a collection of libraries and tools to build adaptive, accessible, and customizable user experiences.
React Spectrum features 3 main libraries/tools:
The Bottom Line
We’re 100% down for any tools that make it easier to build cohesive design systems and more accessible React applications.
If you want to see React Spectrum in action, check out this code example of building a component with React Aria and React Stately from one of the creators, Devon Govett.
Lot of devs hate Regex… but only because it’s awful. All that weird, cryptic language you need to write regular expressions can make it feel like they’re more trouble than they’re worth (especially if you have to do extensive code reviews later on). Because of that, a lot of developers just avoid Regex altogether.
Super Expressive to the rescue?
Properties and methods describe what they do in plain English, so that it’s easier to write the code initially and to fix mistakes later (in theory). It’s also pretty lightweight and doesn’t come with any extra dependencies.
But every new technology (even a relatively small library like this) brings trade-offs. In this case, the biggest one might be, is it worth the time to learn the new syntax and terminology, particularly if other developers aren’t familiar with it yet?
You can check out some examples of Super Expressive here and see if it’s something you’d like to start playing around with. Who knows, maybe it’ll help you get over your regex anxiety.
JS Trivia - Answer Below
How many times is the
JS Trivia - Answer
How many times is the
If an initial value isn’t supplied, the first element in the array will be used as the initial value and the first invocation of the reducer function will be skipped.
Delivered to 114,267 developers every Monday
This is the first ever newsletter that I open a music playlist for and maximize my browser window just to read it in peace. Kudos to @uidotdev for great weekly content.
The Bytes newsletter is a work of art! It’s the only dev newsletter I’m subscribed too. They somehow take semi boring stuff and infuse it with just the right amount of comedy to make you chuckle.
Bytes has been my favorite newsletter since its inception. It’s my favorite thing I look forward to on Mondays. Goes great with a hot cup of coffee!
I subscribe to A LOT of dev (especially JS/TS/Node) newsletters and Bytes by @uidotdev is always such a welcomed, enjoyable change of pace to most (funny, lighthearted, etc) but still comprehensive/useful.
Literally the only newsletter I’m waiting for every week.
Bytes is the developer newsletter I most look forward to each week. Great balance of content and context! Thanks @uidotdev.
The sense of humor and structure of the Bytes Newsletter is first class and the information that comes with it is enough to make a mini course.
Very few newsletters manage to be useful and not very boring. @uidotdev manages to achieve these pretty effortlessly. You can almost see Tyler chuckle as he writes them.