Skip to content

Commit

Permalink
Docs: Added installation and size info to the readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
Flammae committed Feb 16, 2024
1 parent 7197a49 commit 3076888
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

## Featuring

- [Lightweight](https://bundlephobia.com/package/@beqa/react-slots) (< 8KB
minified, < 3KB minified & gzipped)
- Composability with ease
- Type-safety
- Server Components support
Expand All @@ -13,6 +15,15 @@
- Elegant solution to a11y attributes
- Inversion of control

## Installation

The installation process consists of two parts: installing the **core library**
(around **3KB gzipped** piece of code that runs in your users' browsers and
handles the core logic) and an optional **compile-time plugin** (for transpiling
JSX syntax for your slot elements into regular function invocations).

[Installation steps](https://slots.beqa.site/installation)

## Docs

You can find the docs on the
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Callout } from "nextra/components";
# Installation

The installation process consists of two parts: installing the **core library**
(around **4kb gzipped** piece of code that runs in your users' browsers and
(around **3KB gzipped** piece of code that runs in your users' browsers and
handles the core logic) and an optional **compile-time plugin** (for transpiling
JSX syntax for your slot elements into regular function invocations).

Expand Down
11 changes: 11 additions & 0 deletions packages/react-slots/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

## Featuring

- [Lightweight](https://bundlephobia.com/package/@beqa/react-slots) (< 8KB
minified, < 3KB minified & gzipped)
- Composability with ease
- Type-safety
- Server Components support
Expand All @@ -13,6 +15,15 @@
- Elegant solution to a11y attributes
- Inversion of control

## Installation

The installation process consists of two parts: installing the **core library**
(around **3KB gzipped** piece of code that runs in your users' browsers and
handles the core logic) and an optional **compile-time plugin** (for transpiling
JSX syntax for your slot elements into regular function invocations).

[Installation steps](https://slots.beqa.site/installation)

## Docs

You can find the docs on the
Expand Down
2 changes: 1 addition & 1 deletion packages/react-slots/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@beqa/react-slots",
"private": false,
"version": "1.1.2",
"version": "1.1.3",
"description": "The react-slots runtime library",
"author": "Beqa",
"license": "MIT",
Expand Down

0 comments on commit 3076888

Please sign in to comment.