Skip to content

web-dev-classes/udemy-demo

Repository files navigation

@web-dev-classes/udemy-demo

test Maintainability codecov Version Downloads npm bundle size Gitpod ready-to-code

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-demo

or

$ npm install @web-dev-classes/udemy-demo

or

$ yarn add @web-dev-classes/udemy-demo

Usage

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

Repo stats

License

Licensed as MIT open source.


with 💖 by Mayank Kumar Chaudhari