2.0.0 • Published 2 years ago

@hrnet-aj/data-table v2.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Data-table

React component for displaying tables in the HRNet application's UI.

Requirements

šŸš€ Getting started

pnpm dev-standalone  # Serves the package's demo application
pnpm install
pnpm build

Notes

This package is experimenting the Vite's library mode.

For now, it is meant to be developed with its standalone application, served by Vite.

This leads to:

āž• way simpler configuration
āž• faster reload on source file changes
āž– Storybook in monorepo won't refresh alone

Reason

You will be able to get HMR while serving the app in dev mode, but this won't update the dist/ directory.
This means that the Storybook in the monorepo won't update when modifying this package source files.

Temporary workaround

Develop the package with the standalone dev command.

If you want to let the Storybook update at some point, you can still run the build command.
As soon as the build ends, Storybook will reload the components.

This might or might not change in the future, depending on whether we are happy with this behavior.

1.1.0

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago