![]() Apparently, last week was Conference Week⢠â as Guillermo from Vercel, Nat from GitHub, and Mark from Meta all went head to head in a Battle of the Keynotes. Weâre still not sure who won, but we definitely know who filled us with the most existential dread, just in time for Halloween! đ Welcome to #72.
We donât make the rules We learned two things at last weekâs Next.js Conf â 1) If this whole Vercel thing doesnât work out, Guillermo would be a great host for the Architectural Digest YouTube channel. 2) Next.js 12 is Vercelâs âbiggest release everâ â and not just because 12 is bigger than 11 (I think). Whatâs new in Next.js 12?
But the most exciting part are two big experimental features. Middleware (Beta) â This solves one of the biggest problems with JAMStack â How do you run server-side code on requests when youâre just serving static files? Middleware lets you write functions that run before every request using a limited, but fast runtime. This allows you to do lots of stuff like authentication, feature flags, A/B testing, and analytics. React Server Components (Alpha) â Next.js becomes the first to implement this shiny new server rendering method, which is different from the SSR that Next.js normally does to generate the HTML for a page. Instead, this renders individual components on the server and streams the results to the client. This gives you faster page loads, smaller JavaScript bundles (since all the processing happens server-side), and a great developer experience. Bottom Line: Are we ready to talk about how by building on top of React, and by having a privileged relationship with the React core team, Vercel, in a sense, is able to leverage the React core team for free labor? Not yet? Right right.
The choice is yours Retool makes it 10x faster to build internal toolsIâve been telling you about how great Retool is for a while now. Itâs the easiest way to build internal tools at your job⌠blah blah blah. We all know that. But hereâs the thing: you donât build a toaster from scratch every time you want to eat some crispy bread. Itâs 2021. Someone already built that for you. Hereâs another thing: you shouldnât build internal tools from scratch every time your boss wants to âsee the data.â Itâs 2021. And Retool already built that for you. Retool gives you all the building blocks you need to make tools that *actually* look good â tables, lists, charts, wizards, etc. And you can easily connect it to any database or API you want, instead of trying to hack together all that internal data yourself (gross). And if you want to đ Check it out. JS QuizWhat will be logged to the console when this code executes? The answer is below.
Isnât it great that we can use CodeSpaces to build the Metaverse from inside the Metaverse? All Across the (GitHub) UniverseGitHub Universe kind of felt like one big commercial for CodeSpaces â the fully-featured dev environment in the cloud that GH first announced earlier this year (and is a paid enterprise product). To be fair, CodeSpaces is significantly more powerful than any of the other cloud-based IDEs weâve ever seen. It lets you do everything that your local machine can do (access a terminal, run servers, execute tests, sync your local VS Code settings, etc.) â but from any computer in the GitHub announced a bunch of new CodeSpaces features last week thatâll make it even easier to use â including a new (beta) REST API to programmatically manage your CodeSpaces, newly-added CS support in the GitHub CLI, and the ability to create/update the Hereâs the rest of the non-CodeSpaces highlights:
Bottom Line: GitHub is trying to walk a fine line of maintaining its appeal to individual developers and small teams, while simultaneously trying to attract big-fish clients with enterprise-only features like CodeSpaces. And after GitLab IPOâd two weeks ago for $15 billion (largely because of its strong enterprise client base), Iâm guessing weâll be seeing more enterprise plays from GitHub soon. Cool Bits
JS Quiz - AnswerWhat will be logged to the console when this code executes?
The answer? âMike Tysonâ. Since weâre not in strict mode, |