Giter Site home page Giter Site logo

muskanmahajan37 / sandpack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codesandbox/sandpack

0.0 0.0 0.0 1.94 MB

An ecosystem of components and utilities built around the browser bundler that powers https://codesandbox.io

License: GNU General Public License v2.0

JavaScript 0.92% TypeScript 92.23% Shell 0.04% CSS 6.35% HTML 0.47%

sandpack's Introduction

Sandpack Beta

Demo of a React component that edits the code while the bundler executes the changes

What is this?

This repo contains different packages that form the sandpack ecosystem.

Sandpack is the browser bundler which powers CodeSandbox. The packages are built on top of the bundler, offering abstractions that everyone can use to integrate the bundler in their own projects. This project is currently in a beta phase. Looking forward to seeing what the community can build with it. Your feedback is more than welcome, please open an issue if you have trouble with the packages.

sandpack-client

This is a small foundation package that sits on top of the bundler. It is framework agnostic and facilitates the handshake between your context and the bundler iframe.

sandpack-react

A set of React components and hooks that give you all the flexibility of building the right sandpack integration for your project. If you are working with React, you should start with this package as it is built on top of sandpack-client for all React use cases.

import { Sandpack } from "@codesandbox/sandpack-react";
import "@codesandbox/sandpack-react/dist/index.css";

<Sandpack template="react" />;

The package readme contains a lot of examples of how to use the various presets, components and hooks that are exported by the library.

sandpack's People

Contributors

alexnm avatar danilowoz avatar demoorjasper avatar jayakrishnanamburu avatar michaeldeboey avatar vipulbhj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.