Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
38 lines
1.4 KiB
Markdown
38 lines
1.4 KiB
Markdown
<div align="center">
|
|
<h1>📅 use-lilius</h1>
|
|
|
|
[<img src="./meta/logo.png" width="200px">](https://en.wikipedia.org/wiki/Aloysius_Lilius)
|
|
|
|
<p>A headless calendar hook for React.</p>
|
|
|
|
[](https://www.npmjs.com/package/use-lilius)
|
|

|
|

|
|
[](https://deepscan.io/dashboard#view=project&tid=16450&pid=19746&bid=517163)
|
|
[](https://conventionalcommits.org)
|
|
[](LICENSE)
|
|
</div>
|
|
|
|
## Installation
|
|
|
|
```zsh
|
|
yarn add use-lilius
|
|
```
|
|
|
|
## Usage
|
|
|
|
- The [API docs](docs/README.md) should help you get started.
|
|
- See [Storybook](https://use-lilius.vercel.app/) for some
|
|
examples built with `use-lilius` and [Chakra](https://chakra-ui.com/).
|
|
|
|
## Shout-Outs
|
|
|
|
- [dayzed](https://github.com/deseretdigital/dayzed) was the first thing I
|
|
looked into when creating this library. while it didn't suit my needs, it might suit yours.
|
|
- [date-fns](https://date-fns.org/) isn't a calendar library, but it's easy
|
|
enough to roll your own with it.
|
|
|
|
## LICENSE
|
|
|
|
[MIT](LICENSE)
|