After much deliberation we’re excited to announce our favorite Halloween costumes this year. First place goes to Jack dressed up as Rasputin and Second place goes to Guillermo dressed up as an Apple exec. Speaking of Apple execs…
Steve Jobs giving the keynote at Next.js Conf 1989
Next.js turned 4 years old last week… and celebrated by releasing a feature-packed v10 at Next.js Conf. This release also gave us a good look at some new ways Vercel (Next’s parent co.) plans to make money — which is pretty important considering they’ve raised some bookoo bucks ($21m or .77 of a famo.us to be exact).
There’s a lot to unpack here, so let’s get to the highlights.
For more details on Next 10, check out Guillermo Rauch’s Next.js Conf keynote from last week. It’s the first keynote we’ve ever watched that also felt like an episode of MTV Cribs.
The Bottom Line
Is Vercel trying to become the Amazon of web development? You started out selling books (server-side rendering), and now you’re trying to sell me on… a Nicholas Cage rainbow pillowcase (an analytics platform)??
Well, it definitely worked out for Amazon. And Next.js’s monetization strategies seem like they’ll also add some real value while still allowing Vercel to create and maintain some great open-source projects.
I used to be able to throw a pigskin a quarter mile
Reactime is an open-source Chrome extension that’s trying to make state debugging a little easier for React devs. It tracks and visualizes state changes and lets you “time travel” to previous states in your React app.
It does this by taking a snapshot every time your app’s state changes, and it renders those snapshots into a visual hierarchy you can click through (or get in JSON format). Snapshots can also be diffed with the previous snapshot.
Under the hood: Reactime uses the React Fiber tree to access your app’s data. From there, it “traverses the Fiber nodes with a recursive, depth-first search algorithm” to extract all the meaningful data. Then, it shapes that data to fit the data structures of D3 and VISX, the libraries providing the visualization muscle.
Reactime works if you’re using stateful components and prop drilling, and it recently opened up beta support for Hooks, Recoil, Context API, conditional state routing, and functional components.
Reactime got on our radar last week after they released v6.0. For more info, you can check out the creator’s full blog post.
We’re here for anything that makes state management more manageable.
NPM dependencies vs devDependencies
The actual difference between
If you run
If you run
If package A depends on package B and package B depends on C, then package C is a transitive dependency to Package A. What that means is that in order for Package A to run properly, it needs Package B installed. However, in order for Package B to run properly, it needs package C installed. Why do I bring this up? Well
Specifying dependencies vs devDependencies
As of NPM 5, when you run
Installing on a production server
Often times you’ll need to install your project on a production server. When you do that, you don’t want to install
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.