Skip to content

vora/nextgen-react

Repository files navigation

screenshot

Next Generation React

Developer experience is an often overlooked aspect of software development but it is crucial to keeping developers productive. This repository demonstrates how to setup a React web app stack with Vite centric tools that dramatically decrease boot, build and test times. If you have any questions regarding this repository, contact Sunny Golovine.

Tools

This project uses the following development tools:

  • PNPM: A package manager that is faster and more disk space efficient than NPM or Yarn.

  • Vite: A bundler built on top of ESBuild.

  • Ladle: An alternative to Storybook and is built on Vite.

  • Vitest: Drop in alternative to Jest that runs with Vite.

Code Examples

Below are several code examples for testing and stories:

Getting Started

To run this project, you should first make sure that you have NodeJS installed, then install PNPM via NPM:

npm install -g pnpm

From there clone the repository, install dependencies and then run the project.

# Clone the respository
git clone git@github.com:vora/nextgen-react.git

# Install dependencies
pnpm install

# Run the app in development mode
pnpm run dev

Running Ladle

Ladle is an alterative to Storybook that supports CSF (Component Story Format). To run Ladle, make sure you have followed Getting Started. From there, start or build ladle.

# Will start ladle
pnpm run ladle

# Will build ladle (production build)
pnpm run build-ladle

Building for Production

This app can also be build for production. In order to build for production make sure you follow Getting Started, then run the following:

# build a production bundle to /dist
pnpm run build

# (optional) serve the production bundle
pnpm run serve

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published