Giter Site home page Giter Site logo

Comments (2)

fregante avatar fregante commented on September 27, 2024

If the intention is to use it for CI, I assume you just need a React page/component to be served from a server rather than a full repl with file saving and stuff (which would need its own server or Vercel).

If you want to be able to upload JSX and get a build JS file out I can set up a bundler like Parcel and link its result to GitHub Pages somehow (which normally only publishes static files and Jekyll)

Example flow:

  1. Check out playground repo
  2. Duplicate react-app-example
  3. Make your changes
  4. Commit
  5. Access it at https://pixiebrix.github.io/playground/my-shiny-react-app

Let me know how to proceed.

from playground.

twschiller avatar twschiller commented on September 27, 2024

If the intention is to use it for CI

Sorry, didn't fully flesh out the issue. I want to use it for the Rainforest QA jobs we'll run as part of the extension CI. We'll have the the Rainforest QA test install some blueprints and ensure they work on the page

For the React code in the repl.it, it's totally OK have the playground CI/CD build create a static bundle that it serves up. I'm happy to use whatever build tool is easiest (e.g., Create React App might be easiest since the project doesn't use any special features?)

The only gotcha is the sandbox app currently uses React Router with url path based routing. So that might not be supported by GitHub pages?

from playground.

Related Issues (20)

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.