Package Exports
- @web-dev-classes/udemy-demo
- @web-dev-classes/udemy-demo/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@web-dev-classes/udemy-demo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@web-dev-classes/udemy-demo
Features
✅ Fully Treeshakable (import from @web-dev-classes/udemy-demo/client/component)
✅ Full TypeScript Support
✅ Unleash the full power of React18 Server components
✅ Works with all build systems/tools/frameworks for React18
✅ Doccumented with Typedoc (Docs)
Install
$ pnpm add @web-dev-classes/udemy-demoor
$ npm install @web-dev-classes/udemy-demoor
$ yarn add @web-dev-classes/udemy-demoUsage
Import the component from @web-dev-classes/udemy-demo and use it.
import styles from "./examples.module.css";
import { UdemyDemo } from "@web-dev-classes/udemy-demo/server";
export default function Examples() {
return (
<div className={styles.examples}>
<UdemyDemo>Wow! It was so simple!</UdemyDemo>
</div>
);
}🤩 Don't forger to star this repo!
Want hands-on course for getting started with Turborepo? Check out React and Next.js with TypeScript and The Game of Chess with Next.js, React and TypeScrypt
License
Licensed as MIT open source.
with 💖 by Mayank Kumar Chaudhari