The Journey of CodeSandbox Projects

This ad is not shown to multipass and full ticket holders
React Summit US
React Summit US 2026
November 17 - 20, 2026
New York, US & Online
Upcoming event
React Summit US 2026
React Summit US 2026
November 17 - 20, 2026. New York, US & Online
Bookmark
Rate this content
Sentry
Promoted
Code breaks, fix it faster

Crashes, slowdowns, regressions in prod. Seer by Sentry unifies traces, replays, errors, profiles to find root causes fast.

Get started

CodeSandbox Projects is the new version of CodeSandbox that enables the workflow of CodeSandbox today, but for projects of any size. During this talk, Ives will share the story of how Projects was created, and how we made it technically possible to build Projects.

This talk has been presented at React Summit 2022, check out the latest edition of this React Conference.

FAQ

The speakers at the conference are Daniel, Marco, Matt, and Yves van Hoornen.

Code Sandbox is an online code editor that allows users to build and share code with a unique link. It supports various features like real-time previews, NPM dependencies, and collaboration tools.

Code Sandbox turned five years old last month, and the company is four years old this month.

Code Sandbox was co-founded by Yves van Hoornen and his co-founder Bas.

The initial idea behind Code Sandbox was to create a component editor, which then evolved into a component library builder, an online component library builder, and finally an online code editor.

Code Sandbox is used for learning to code, sharing work with developers, designers, and product managers, and building projects beyond prototypes.

Code Sandbox Projects is a new feature that integrates with Git, allowing users to create branches, contribute back to original sandboxes, and run any development server or tool within a micro VM.

Code Sandbox uses various techniques like hibernating VMs after inactivity, leveraging Firecracker for fast VM snapshots, and optimizing bundlers to improve performance and scalability.

Yes, Code Sandbox supports private repositories and plans to extend support to other Git platforms like GitLab and Bitbucket.

Code Sandbox is free for open source projects. For private repositories, a subscription model will be applied to cover the costs.

Initially, the founders managed infrastructure costs by running everything in the browser and using a minimal backend setup, which allowed them to scale to 500,000 monthly users on just $40 a month of hosting.

Ives van Hoorne
Ives van Hoorne
32 min
17 Jun, 2022

Comments

Sign in or register to post your comment.
Video Summary and Transcription
The video talk delves into the evolution of CodeSandbox, an online code editor designed for easy code sharing and collaboration. It highlights the journey from its inception as a side project to a full-fledged company. A significant part of the talk focuses on CodeSandbox Projects, a feature that integrates Git for seamless branching and contribution. This platform supports various frameworks, including AngularJS, making it versatile for developers. The speaker emphasizes the importance of real-time collaboration and the ability to work with private repositories, which is a key feature for many tech professionals. The talk also covers the unique storage method using Postgres for code files, which efficiently handles over 200 million files. Additionally, the use of micro VMs, specifically Firecracker, enables quick VM snapshots, enhancing performance and scalability. The speaker shares insights on the importance of gaining true fans for user growth and the strategic approach to scaling the platform on a minimal budget while maintaining high performance.

1. Introduction to Code Sandbox

Short description:

Welcome to the conference! I'm Yves van Hoornen, one of the cofounders of Code Sandbox. Let me introduce you to Code Sandbox, an online code editor. It's like your local code editor, but with the ability to share your code easily. Try it out!

It's time to meet the guys at the conference. Welcome, Daniel, Marco, and Matt. This is the first time we've had a session, so let's check out what the speakers are up to.

Hello, everyone. It's really nice to be here. I think I've never spoken at a conference with this many people. It's absolutely crazy. Keep in mind, this is the first time that I'm using Keynote. I might be a bit enthusiastic with the animations.

So my name is Yves van Hoornen. You can find me on Twitter under the name Compuives. My name is pretty hard to pronounce, even in the Netherlands. So you can call me Yves. You can call me Ives. My friends also have trouble with my name. They call me Flip. So if you want to call me Flip, that's fine as well. I am one of the two cofounders of Code Sandbox.

And first of all, who of you before today has heard of Code Sandbox or has used Code Sandbox? Okay. That is really, really cool. It doesn't matter. I'm still going to demo it because I want to demo it. So this is Code Sandbox. Code Sandbox is an online code editor. It's essentially like your local code editor, but the nice thing is that whenever you build something, you get a link that you can share with people. So I can make a change. I can change this to hello world, for example. It will update in the preview. And if I press fork, I get my unique link and I can share it with other people. Now, Code Sandbox is quite old.

2. The Story of Code Sandbox

Short description:

Last month we turned five years old. We now have 25 million sandboxes. Today I want to talk about the story of Code Sandbox. How Code Sandbox got started as this little side project that turned into a company and what we've learned along the way. At the end, I will do a bit of a crazy talk about Minecraft. So let's get started. I was a web developer for an auction website called Katawiki. We were converting Ruby on Rails, version 2 pages to React. I got questions from my co-workers about the pieces of code. I started to think, it would be interesting if you would have your development environment available everywhere.

Last month we turned five years old. And this month, the company is four years old. When we started Code Sandbox, I never could have expected this amount of people using Code Sandbox. We now have 25 million sandboxes. And the sandboxes are crazy. There is also, like, the top right one is Mario Kart without JavaScript, just in CSS. Which is... I don't know.

Anyway, today I want to talk about the story of Code Sandbox. How Code Sandbox got started as this little side project that turned into a company and what we've learned along the way. My goal is really to inspire you if you have an idea that you actually think about working on it. At the end, I will do a bit of a crazy talk about Minecraft. Which we'll get to at the end.

So let's get started. So five years ago, I was a web developer for an auction website called Katawiki. We were converting Ruby on Rails, version 2 pages to React. At some point, I was on vacation to St. Ives. And we literally went there, because my name is in it. And at the time, I got questions from my co-workers about the pieces of code. And they just sent me snippets on Slack of React. And I couldn't decipher what was going on. Because nowadays, you have everything has a V8 compiler. I didn't have one in my head. I just tried to decipher what was going on. And I started to think, it would be interesting if you would have your development environment available everywhere. And of course, didn't do much with the idea. Like most ideas, started studying. And I remember going to university, and the first lecture was about Java. And then the second lecture was about Java.

QnA

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

React Compiler - Understanding Idiomatic React (React Forget)
React Advanced 2023React Advanced 2023
33 min
React Compiler - Understanding Idiomatic React (React Forget)
Top Content
Joe Savona
Mofei Zhang
2 authors
The Talk discusses React Forget, a compiler built at Meta that aims to optimize client-side React development. It explores the use of memoization to improve performance and the vision of Forget to automatically determine dependencies at build time. Forget is named with an F-word pun and has the potential to optimize server builds and enable dead code elimination. The team plans to make Forget open-source and is focused on ensuring its quality before release.
Speeding Up Your React App With Less JavaScript
React Summit 2023React Summit 2023
32 min
Speeding Up Your React App With Less JavaScript
Top Content
Mishko, the creator of Angular and AngularJS, discusses the challenges of website performance and JavaScript hydration. He explains the differences between client-side and server-side rendering and introduces Quik as a solution for efficient component hydration. Mishko demonstrates examples of state management and intercommunication using Quik. He highlights the performance benefits of using Quik with React and emphasizes the importance of reducing JavaScript size for better performance. Finally, he mentions the use of QUIC in both MPA and SPA applications for improved startup performance.
SolidJS: Why All the Suspense?
JSNation 2023JSNation 2023
28 min
SolidJS: Why All the Suspense?
Top Content
Suspense is a mechanism for orchestrating asynchronous state changes in JavaScript frameworks. It ensures async consistency in UIs and helps avoid trust erosion and inconsistencies. Suspense boundaries are used to hoist data fetching and create consistency zones based on the user interface. They can handle loading states of multiple resources and control state loading in applications. Suspense can be used for transitions, providing a smoother user experience and allowing prioritization of important content.
Jotai Atoms Are Just Functions
React Day Berlin 2022React Day Berlin 2022
22 min
Jotai Atoms Are Just Functions
Top Content
State management in React is a highly discussed topic with many libraries and solutions. Jotai is a new library based on atoms, which represent pieces of state. Atoms in Jotai are used to define state without holding values and can be used for global, semi-global, or local states. Jotai atoms are reusable definitions that are independent from React and can be used without React in an experimental library called Jotajsx.
Tanstack Start - A Client-Side First Full-Stack React Framework
React Summit US 2024React Summit US 2024
30 min
Tanstack Start - A Client-Side First Full-Stack React Framework
Top Content
We surveyed thousands of developers to show that a louder audience leads to a better presentation. There has been a shift in web app development towards server-first architectures, which has improved full-stack capabilities but at the cost of complexity and divergence from the client-centric approach. Tanstec Start is a meta-framework that aims to provide the best client-side authoring experience with powerful server-side primitives. The Tansec Router supports advanced routing features, URL state management, and JSON storage. Combined with the server-side rendering capabilities of TanStack Start, it becomes even more powerful. The TanStack Router has isomorphic loaders and integrates seamlessly with TanStack Query for additional features like polling and offline support. UseSuspenseQuery allows for dynamic streaming of data during SSR. TanStack Start also offers server-side features, API routes, server functions, and middleware. The future plans include RSCs, websockets, real-time primitives, and static pre-rendering. TanStack Start is now in beta and is suitable for building React apps. It is open source.
From GraphQL Zero to GraphQL Hero with RedwoodJS
GraphQL Galaxy 2021GraphQL Galaxy 2021
32 min
From GraphQL Zero to GraphQL Hero with RedwoodJS
Top Content
Tom Pressenwurter introduces Redwood.js, a full stack app framework for building GraphQL APIs easily and maintainably. He demonstrates a Redwood.js application with a React-based front end and a Node.js API. Redwood.js offers a simplified folder structure and schema for organizing the application. It provides easy data manipulation and CRUD operations through GraphQL functions. Redwood.js allows for easy implementation of new queries and directives, including authentication and limiting access to data. It is a stable and production-ready framework that integrates well with other front-end technologies.

Workshops on related topic

Building a Shopify App with React & Node
React Summit Remote Edition 2021React Summit Remote Edition 2021
87 min
Building a Shopify App with React & Node
Top Content
Workshop
Jennifer Gray
Hanna Chen
2 authors
Shopify merchants have a diverse set of needs, and developers have a unique opportunity to meet those needs building apps. Building an app can be tough work but Shopify has created a set of tools and resources to help you build out a seamless app experience as quickly as possible. Get hands on experience building an embedded Shopify app using the Shopify App CLI, Polaris and Shopify App Bridge.We’ll show you how to create an app that accesses information from a development store and can run in your local environment.
Build a chat room with Appwrite and React
JSNation 2022JSNation 2022
41 min
Build a chat room with Appwrite and React
Workshop
Wess Cope
Wess Cope
API's/Backends are difficult and we need websockets. You will be using VS Code as your editor, Parcel.js, Chakra-ui, React, React Icons, and Appwrite. By the end of this workshop, you will have the knowledge to build a real-time app using Appwrite and zero API development. Follow along and you'll have an awesome chat app to show off!
Hard GraphQL Problems at Shopify
GraphQL Galaxy 2021GraphQL Galaxy 2021
164 min
Hard GraphQL Problems at Shopify
Workshop
Rebecca Friedman
Jonathan Baker
Alex Ackerman
Théo Ben Hassen
 Greg MacWilliam
5 authors
At Shopify scale, we solve some pretty hard problems. In this workshop, five different speakers will outline some of the challenges we’ve faced, and how we’ve overcome them.

Table of contents:
1 - The infamous "N+1" problem: Jonathan Baker - Let's talk about what it is, why it is a problem, and how Shopify handles it at scale across several GraphQL APIs.
2 - Contextualizing GraphQL APIs: Alex Ackerman - How and why we decided to use directives. I’ll share what directives are, which directives are available out of the box, and how to create custom directives.
3 - Faster GraphQL queries for mobile clients: Theo Ben Hassen - As your mobile app grows, so will your GraphQL queries. In this talk, I will go over diverse strategies to make your queries faster and more effective.
4 - Building tomorrow’s product today: Greg MacWilliam - How Shopify adopts future features in today’s code.
5 - Managing large APIs effectively: Rebecca Friedman - We have thousands of developers at Shopify. Let’s take a look at how we’re ensuring the quality and consistency of our GraphQL APIs with so many contributors.
Build Modern Applications Using GraphQL and Javascript
Node Congress 2024Node Congress 2024
152 min
Build Modern Applications Using GraphQL and Javascript
Workshop
Emanuel Scirlet
Miguel Henriques
2 authors
Come and learn how you can supercharge your modern and secure applications using GraphQL and Javascript. In this workshop we will build a GraphQL API and we will demonstrate the benefits of the query language for APIs and what use cases that are fit for it. Basic Javascript knowledge required.
0 To Auth In An Hour For Your JavaScript App
JSNation 2023JSNation 2023
57 min
0 To Auth In An Hour For Your JavaScript App
WorkshopFree
Asaf Shen
Asaf Shen
Passwordless authentication may seem complex, but it is simple to add it to any app using the right tool.
We will enhance a full-stack JS application (Node.js backend + Vanilla JS frontend) to authenticate users with One Time Passwords (email) and OAuth, including:
- User authentication – Managing user interactions, returning session / refresh JWTs- Session management and validation – Storing the session securely for subsequent client requests, validating / refreshing sessions
At the end of the workshop, we will also touch on another approach to code authentication using frontend Descope Flows (drag-and-drop workflows), while keeping only session validation in the backend. With this, we will also show how easy it is to enable biometrics and other passwordless authentication methods.