woocommerce/packages/js/experimental
Vladimir Reznichenko 46433747a2
[dev] CI: liverage composer packages cache in pr-lint-monorepo workflow (#52054)
2024-10-16 12:02:31 +02:00
..
changelog [dev] CI: liverage composer packages cache in pr-lint-monorepo workflow (#52054) 2024-10-16 12:02:31 +02:00
src Upgrade storybook to version 7 and add pages workflow for GH publishing (#51168) 2024-09-09 12:06:01 -03:00
typings Moved WCA Packages 2022-03-18 14:25:26 -07:00
.eslintrc.js CI: update linting jobs to skip build step (#49193) 2024-07-08 08:39:39 +02:00
.npmrc Moved WCA Packages 2022-03-18 14:25:26 -07:00
CHANGELOG.md Prepare Packages for Release (#50000) 2024-07-25 14:54:32 -07: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 [dev] CI: liverage composer packages cache in pr-lint-monorepo workflow (#52054) 2024-10-16 12:02:31 +02:00
tsconfig-cjs.json Enforce Strict `@types` Dependencies (#37351) 2023-03-23 18:02:20 -07:00
tsconfig.json Fix one more instance of unspecified include in tsconfig. (#47207) 2024-05-08 13:53:56 +12: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>
	);
}