woocommerce/packages/js/experimental
Christopher Allford db8da8d712
Properly Configured Wireit Production Builds (#43716)
2024-01-22 10:13:45 -08:00
..
changelog Properly Configured Wireit Production Builds (#43716) 2024-01-22 10:13:45 -08:00
src update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
typings Moved WCA Packages 2022-03-18 14:25:26 -07:00
.eslintrc.js Add .eslintrc config to each packages 2022-03-29 16:08:07 +08:00
.npmrc Moved WCA Packages 2022-03-18 14:25:26 -07:00
CHANGELOG.md Prepare Packages for Release (#33776) 2022-07-08 14:04:49 +12:00
PREVIOUS_CHANGELOG.md Update JS packages changelogs (#33412) 2022-06-16 10:06:31 +12:00
README.md Moved WCA Packages 2022-03-18 14:25:26 -07:00
babel.config.js Update/unify jest@27 across all packages (#34322) 2022-09-06 09:29:45 -05:00
composer.json bump php version in packages/js/*/composer.json (#42020) 2024-01-04 10:18:34 -04:00
composer.lock Update changelogger to 3.3.0 to support PR number capturing with merge (#36266) 2023-01-05 14:42:51 +05:30
jest.config.json Fix Jest Preset (#42707) 2023-12-12 09:58:13 -08:00
package.json Properly Configured Wireit Production Builds (#43716) 2024-01-22 10:13:45 -08:00
tsconfig-cjs.json Enforce Strict `@types` Dependencies (#37351) 2023-03-23 18:02:20 -07:00
tsconfig.json Enforce Strict `@types` Dependencies (#37351) 2023-03-23 18:02:20 -07:00
webpack.config.js Emit error on webpack build when invalid export name used in import for JS (#37195) 2023-03-26 21:42:33 -04:00

README.md

Experimental

This is a private package not meant for use by third parties.

A collection of component imports and exports that are aliases for components transitioning from experimental to non-experimental. This package prevents the component from being undefined when the @wordpress/components library version is unclear.

It also contains several in-development components that are slated for inclusion in later releases of @woocommerce/components.

Installation

Install the module

pnpm install @woocommerce/experimental --save

Usage

Simply import the component name with the __experimental prefix. If found, the non-experimental version will be imported and if not, this will fallback to the experimental version.

import { Text } from '@woocommerce/experimental';

render() {
	return (
		<Text>
			
		</Text>
	);
}