@fullstackcraftllc/codevideo-ide-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.87 • Public • Published

@fullstackcraftllc/codevideo-ide-react

NPM Version

React component for the CodeVideo IDE. Our first "nearly-complete" functionality component for replaying IDE sessions, complete with a file explorer, multiple editor tab support, and a terminal.

IT'S CRITICAL THIS SHIPS TO PRODUCTION ONLY AFTER CONFIRMING THERE ARE NO SSR ISSUES - MONACO IS INFAMOUS FOR SSR ISSUES!

Typically, this is caused by calling monaco.editor by accident, when the react ref globalMonacoRef.current.editor. can be used instead.

Examples

There is a Gatsby site (in this repo under the ./example folder) featuring the CodeVideoIDE component in various configurations.

In step mode using the arrow keys to navigate through steps:

https://codevideo.github.io/codevideo-ide-react/step

In replay mode, starting a full replay with sound as soon as the page is interacted with:

https://codevideo.github.io/codevideo-ide-react/replay

In replay mode compatible with puppeteer recording callbacks, starting a full replay with sound as soon as the page is interacted with:

https://codevideo.github.io/codevideo-ide-react/puppeteer

Installation

Install the package itself via npm:

npm install @fullstackcraftllc/codevideo-ide-react

Ensure that you include radix CSS in your project. For frameworks like Next.js, you can include this in the root of your project:

import "@radix-ui/themes/styles.css";

For Gatsby, add this to your gatsby-browser.js and gatsby-ssr.js files:

require('@radix-ui/themes/styles.css');

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.8710latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.8710
0.0.863
0.0.853
0.0.843
0.0.821
0.0.811
0.0.803
0.0.792
0.0.782
0.0.772
0.0.760
0.0.751
0.0.741
0.0.730
0.0.720
0.0.710
0.0.701
0.0.691
0.0.681
0.0.671
0.0.661
0.0.650
0.0.641
0.0.631
0.0.620
0.0.611
0.0.601
0.0.591
0.0.581
0.0.571
0.0.561
0.0.551
0.0.541
0.0.531
0.0.521
0.0.511
0.0.500
0.0.490
0.0.470
0.0.460
0.0.450
0.0.440
0.0.430
0.0.420
0.0.410
0.0.400
0.0.390
0.0.380
0.0.370
0.0.360
0.0.350
0.0.340
0.0.330
0.0.320
0.0.310
0.0.300
0.0.290
0.0.280
0.0.270
0.0.260
0.0.250
0.0.240
0.0.230
0.0.220
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @fullstackcraftllc/codevideo-ide-react

Weekly Downloads

50

Version

0.0.87

License

MIT

Unpacked Size

6.73 MB

Total Files

95

Last publish

Collaborators

  • fullstackcraftllc