Skip to content

Commit

Permalink
upgrade deps && docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Feb 28, 2024
1 parent d5d306c commit c08eb21
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/functions/default.html

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Code Documentation</title><meta name="description" content="Documentation for Code Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">Code Documentation</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h2>Code Documentation</h2></div><div class="tsd-panel tsd-typography"><a id="md:react18globalstore" class="tsd-anchor"></a><h1><a href="#md:react18globalstore">React18GlobalStore</a></h1><p><a href="https://github.com/react18-tools/react18-global-store/actions/workflows/test.yml"><img src="https://github.com/react18-tools/react18-global-store/actions/workflows/test.yml/badge.svg" alt="test"></a> <a href="https://codeclimate.com/github/react18-tools/react18-global-store/maintainability"><img src="https://api.codeclimate.com/v1/badges/ec3140063acd8df82481/maintainability" alt="Maintainability"></a> <a href="https://codecov.io/gh/react18-tools/react18-global-store"><img src="https://codecov.io/gh/react18-tools/react18-global-store/graph/badge.svg" alt="codecov"></a> <a href="https://www.npmjs.com/package/r18gs"><img src="https://img.shields.io/npm/v/r18gs.svg?colorB=green" alt="Version"></a> <a href="https://www.npmjs.com/package/r18gs"><img src="https://img.jsdelivr.com/img.shields.io/npm/dt/r18gs.svg" alt="Downloads"></a> <img src="https://img.shields.io/bundlephobia/minzip/r18gs" alt="npm bundle size"> <a href="https://gitpod.io/from-referrer/"><img src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod" alt="Gitpod ready-to-code"></a></p>
<a id="md:motivation" class="tsd-anchor"></a><h2><a href="#md:motivation">Motivation</a></h2><p>I have built wonderful libraries utilizing React18 features using Zustand. They worked awesome. However, when I try importing from specific folder for better tree-shaking, the libraries fail. This is because, for each import a separate zustand store is created. This actually increases the package size also.</p>
<p>Thus, I decided to create a bare minimum, ultra-light store that creates shared state even while importing components from separate files for better treeshaking.</p>
<blockquote>
<p>Will be using this library soon to fix issues with <code>nextjs-themes</code>.</p>
</blockquote>
<a id="md:features" class="tsd-anchor"></a><h2><a href="#md:features">Features</a></h2><p>✅ Full TypeScript Support</p>
<p>✅ Unleash the full power of React18 Server components</p>
<p>✅ Works with all build systems/tools/frameworks for React18</p>
Expand Down
Loading

0 comments on commit c08eb21

Please sign in to comment.