├── .changeset └── config.json ├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .github ├── actions │ └── setup │ │ └── action.yml └── workflows │ ├── code-check.yml │ └── release.yml ├── .gitignore ├── .npmignore ├── .npmrc ├── .sail.yml ├── CHANGELOG.md ├── CONTRIBUTING.MD ├── LICENSE ├── README.md ├── docs ├── api.md ├── faq.md ├── installation.md ├── introduction.mdx └── usage.md ├── package.json ├── packages ├── demo │ ├── index.html │ ├── package.json │ ├── postcss.config.cjs │ ├── src │ │ ├── app.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tailwind.config.cjs │ ├── tsconfig.json │ └── vite.config.ts └── react-live │ ├── .babelrc │ ├── .storybook │ ├── .babelrc │ ├── main.js │ └── preview.js │ ├── CHANGELOG.md │ ├── package.json │ ├── src │ ├── components │ │ ├── Editor │ │ │ └── index.tsx │ │ └── Live │ │ │ ├── ErrorBoundary.tsx │ │ │ ├── LiveContext.ts │ │ │ ├── LiveEditor.stories.tsx │ │ │ ├── LiveEditor.tsx │ │ │ ├── LiveError.tsx │ │ │ ├── LivePreview.tsx │ │ │ ├── LiveProvider.stories.tsx │ │ │ ├── LiveProvider.test.js │ │ │ └── LiveProvider.tsx │ ├── hoc │ │ └── withLive.tsx │ ├── index.ts │ └── utils │ │ ├── test │ │ ├── compose.test.js │ │ ├── errorBoundary.test.js │ │ ├── fixtures │ │ │ └── optional-chain.test.js │ │ ├── renderer.js │ │ └── transpile.test.js │ │ └── transpile │ │ ├── compose.ts │ │ ├── errorBoundary.tsx │ │ ├── evalCode.ts │ │ ├── index.ts │ │ └── transform.ts │ ├── tsconfig.json │ └── tsup.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml └── website ├── .gitignore ├── README.md ├── babel.config.js ├── docusaurus.config.js ├── package.json ├── sidebars.js ├── src ├── assets │ └── fonts │ │ └── inter │ │ ├── InterBold.woff2 │ │ ├── InterMedium.woff2 │ │ └── InterRegular.woff2 ├── components │ ├── landing │ │ ├── landing-banner.tsx │ │ ├── landing-divider.tsx │ │ ├── landing-featured-projects.tsx │ │ ├── landing-features.tsx │ │ ├── landing-hero.tsx │ │ ├── landing-logos.tsx │ │ └── nf-link-button.tsx │ └── live-edit.tsx ├── css │ └── custom.css └── pages │ └── index.tsx ├── static ├── .nojekyll └── img │ ├── favicon.ico │ ├── feature-1.png │ ├── feature-2.png │ ├── feature-3.png │ ├── hero-pattern.png │ ├── live.gif │ ├── logo.svg │ ├── nearform-icon-white.svg │ ├── nearform-icon.svg │ ├── nearform-logo-white.svg │ ├── nearform-logo.svg │ └── react-live-badge.png ├── tailwind.config.js └── tsconfig.json /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | packages/react-live/dist/ 3 | website/build/ 4 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/actions/setup/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/.github/actions/setup/action.yml -------------------------------------------------------------------------------- /.github/workflows/code-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/.github/workflows/code-check.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | auto-install-peers=false 2 | -------------------------------------------------------------------------------- /.sail.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/.sail.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/CONTRIBUTING.MD -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/README.md -------------------------------------------------------------------------------- /docs/api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/docs/api.md -------------------------------------------------------------------------------- /docs/faq.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/docs/faq.md -------------------------------------------------------------------------------- /docs/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/docs/installation.md -------------------------------------------------------------------------------- /docs/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/docs/introduction.mdx -------------------------------------------------------------------------------- /docs/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/docs/usage.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/package.json -------------------------------------------------------------------------------- /packages/demo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/demo/index.html -------------------------------------------------------------------------------- /packages/demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/demo/package.json -------------------------------------------------------------------------------- /packages/demo/postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/demo/postcss.config.cjs -------------------------------------------------------------------------------- /packages/demo/src/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/demo/src/app.tsx -------------------------------------------------------------------------------- /packages/demo/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/demo/src/index.css -------------------------------------------------------------------------------- /packages/demo/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/demo/src/main.tsx -------------------------------------------------------------------------------- /packages/demo/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /packages/demo/tailwind.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/demo/tailwind.config.cjs -------------------------------------------------------------------------------- /packages/demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/demo/tsconfig.json -------------------------------------------------------------------------------- /packages/demo/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/demo/vite.config.ts -------------------------------------------------------------------------------- /packages/react-live/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/.babelrc -------------------------------------------------------------------------------- /packages/react-live/.storybook/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/.storybook/.babelrc -------------------------------------------------------------------------------- /packages/react-live/.storybook/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/.storybook/main.js -------------------------------------------------------------------------------- /packages/react-live/.storybook/preview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/.storybook/preview.js -------------------------------------------------------------------------------- /packages/react-live/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/CHANGELOG.md -------------------------------------------------------------------------------- /packages/react-live/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/package.json -------------------------------------------------------------------------------- /packages/react-live/src/components/Editor/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/components/Editor/index.tsx -------------------------------------------------------------------------------- /packages/react-live/src/components/Live/ErrorBoundary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/components/Live/ErrorBoundary.tsx -------------------------------------------------------------------------------- /packages/react-live/src/components/Live/LiveContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/components/Live/LiveContext.ts -------------------------------------------------------------------------------- /packages/react-live/src/components/Live/LiveEditor.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/components/Live/LiveEditor.stories.tsx -------------------------------------------------------------------------------- /packages/react-live/src/components/Live/LiveEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/components/Live/LiveEditor.tsx -------------------------------------------------------------------------------- /packages/react-live/src/components/Live/LiveError.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/components/Live/LiveError.tsx -------------------------------------------------------------------------------- /packages/react-live/src/components/Live/LivePreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/components/Live/LivePreview.tsx -------------------------------------------------------------------------------- /packages/react-live/src/components/Live/LiveProvider.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/components/Live/LiveProvider.stories.tsx -------------------------------------------------------------------------------- /packages/react-live/src/components/Live/LiveProvider.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/components/Live/LiveProvider.test.js -------------------------------------------------------------------------------- /packages/react-live/src/components/Live/LiveProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/components/Live/LiveProvider.tsx -------------------------------------------------------------------------------- /packages/react-live/src/hoc/withLive.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/hoc/withLive.tsx -------------------------------------------------------------------------------- /packages/react-live/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/index.ts -------------------------------------------------------------------------------- /packages/react-live/src/utils/test/compose.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/utils/test/compose.test.js -------------------------------------------------------------------------------- /packages/react-live/src/utils/test/errorBoundary.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/utils/test/errorBoundary.test.js -------------------------------------------------------------------------------- /packages/react-live/src/utils/test/fixtures/optional-chain.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/utils/test/fixtures/optional-chain.test.js -------------------------------------------------------------------------------- /packages/react-live/src/utils/test/renderer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/utils/test/renderer.js -------------------------------------------------------------------------------- /packages/react-live/src/utils/test/transpile.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/utils/test/transpile.test.js -------------------------------------------------------------------------------- /packages/react-live/src/utils/transpile/compose.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/utils/transpile/compose.ts -------------------------------------------------------------------------------- /packages/react-live/src/utils/transpile/errorBoundary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/utils/transpile/errorBoundary.tsx -------------------------------------------------------------------------------- /packages/react-live/src/utils/transpile/evalCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/utils/transpile/evalCode.ts -------------------------------------------------------------------------------- /packages/react-live/src/utils/transpile/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/utils/transpile/index.ts -------------------------------------------------------------------------------- /packages/react-live/src/utils/transpile/transform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/src/utils/transpile/transform.ts -------------------------------------------------------------------------------- /packages/react-live/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/tsconfig.json -------------------------------------------------------------------------------- /packages/react-live/tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/packages/react-live/tsup.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /website/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/.gitignore -------------------------------------------------------------------------------- /website/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/README.md -------------------------------------------------------------------------------- /website/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/babel.config.js -------------------------------------------------------------------------------- /website/docusaurus.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/docusaurus.config.js -------------------------------------------------------------------------------- /website/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/package.json -------------------------------------------------------------------------------- /website/sidebars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/sidebars.js -------------------------------------------------------------------------------- /website/src/assets/fonts/inter/InterBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/assets/fonts/inter/InterBold.woff2 -------------------------------------------------------------------------------- /website/src/assets/fonts/inter/InterMedium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/assets/fonts/inter/InterMedium.woff2 -------------------------------------------------------------------------------- /website/src/assets/fonts/inter/InterRegular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/assets/fonts/inter/InterRegular.woff2 -------------------------------------------------------------------------------- /website/src/components/landing/landing-banner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/components/landing/landing-banner.tsx -------------------------------------------------------------------------------- /website/src/components/landing/landing-divider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/components/landing/landing-divider.tsx -------------------------------------------------------------------------------- /website/src/components/landing/landing-featured-projects.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/components/landing/landing-featured-projects.tsx -------------------------------------------------------------------------------- /website/src/components/landing/landing-features.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/components/landing/landing-features.tsx -------------------------------------------------------------------------------- /website/src/components/landing/landing-hero.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/components/landing/landing-hero.tsx -------------------------------------------------------------------------------- /website/src/components/landing/landing-logos.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/components/landing/landing-logos.tsx -------------------------------------------------------------------------------- /website/src/components/landing/nf-link-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/components/landing/nf-link-button.tsx -------------------------------------------------------------------------------- /website/src/components/live-edit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/components/live-edit.tsx -------------------------------------------------------------------------------- /website/src/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/css/custom.css -------------------------------------------------------------------------------- /website/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/src/pages/index.tsx -------------------------------------------------------------------------------- /website/static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /website/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/favicon.ico -------------------------------------------------------------------------------- /website/static/img/feature-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/feature-1.png -------------------------------------------------------------------------------- /website/static/img/feature-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/feature-2.png -------------------------------------------------------------------------------- /website/static/img/feature-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/feature-3.png -------------------------------------------------------------------------------- /website/static/img/hero-pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/hero-pattern.png -------------------------------------------------------------------------------- /website/static/img/live.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/live.gif -------------------------------------------------------------------------------- /website/static/img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/logo.svg -------------------------------------------------------------------------------- /website/static/img/nearform-icon-white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/nearform-icon-white.svg -------------------------------------------------------------------------------- /website/static/img/nearform-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/nearform-icon.svg -------------------------------------------------------------------------------- /website/static/img/nearform-logo-white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/nearform-logo-white.svg -------------------------------------------------------------------------------- /website/static/img/nearform-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/nearform-logo.svg -------------------------------------------------------------------------------- /website/static/img/react-live-badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/static/img/react-live-badge.png -------------------------------------------------------------------------------- /website/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/tailwind.config.js -------------------------------------------------------------------------------- /website/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FormidableLabs/react-live/HEAD/website/tsconfig.json --------------------------------------------------------------------------------