Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3e537b0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
atk committed Jan 11, 2024
1 parent 66e8a84 commit c9b3602
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 4 deletions.
Binary file removed _build/assets/client-0296dc1b.js.br
Binary file not shown.
Binary file removed _build/assets/client-0296dc1b.js.gz
Binary file not shown.

Large diffs are not rendered by default.

Binary file added _build/assets/client-c9b8562c.js.br
Binary file not shown.
Binary file added _build/assets/client-c9b8562c.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion _build/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"css": [
"assets/client-92916b4a.css"
],
"file": "assets/client-0296dc1b.js",
"file": "assets/client-c9b8562c.js",
"imports": [
"_HttpStatusCode-dd849264.js",
"_index-e5f2924e.js",
Expand Down
Binary file modified _build/manifest.json.br
Binary file not shown.
Binary file modified _build/manifest.json.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="icon" href="/favicon.ico"><script>window._$HY||(e=>{let t=e=>e&&e.hasAttribute&&(e.hasAttribute("data-hk")?e:t(e.host&&e.host.nodeType?e.host:e.parentNode));["click", "input"].forEach((o=>document.addEventListener(o,(o=>{let a=o.composedPath&&o.composedPath()[0]||o.target,s=t(a);s&&!e.completed.has(s)&&e.events.push([s,o])}))))})(_$HY={events:[],completed:new WeakSet,r:{},fe(){}});</script><script>self.$R=self.$R||[];_$HY.r["0-0-0-0-0-0-0-0-0-1-0-0-0-0-0-0"]=$R[0]=($R[1]=(s,f,p)=>((p=new Promise((a,b)=>{s=a,f=b})).s=s,p.f=f,p))();($R[2]=(p,d)=>{p.s(d),p.status="success",p.value=d;delete p.s;delete p.f})($R[0],!0);</script><!--xs--><link href="/solid-cheat-sheet/_build/assets/client-92916b4a.css" rel="stylesheet" precendence="high"/><link href="/solid-cheat-sheet/_build/assets/HttpStatusCode-dd849264.js" rel="modulepreload"/><link href="/solid-cheat-sheet/_build/assets/web-359a0177.js" rel="modulepreload"/><link href="/solid-cheat-sheet/_build/assets/index-e5f2924e.js" rel="modulepreload"/><link href="/solid-cheat-sheet/_build/assets/client-0296dc1b.js" rel="modulepreload"/><link href="/solid-cheat-sheet/_build/assets/index-10b96df2.js" rel="modulepreload"/><link href="/solid-cheat-sheet/_build/assets/index-c3cacaca.js" rel="modulepreload"/><title data-sm="0-0-0-0-0-0-0-0-0-1-0-0-0-0-0-0-0-0-0-1-0-0">Solid Cheat Sheet</title></head><body><div id="app"><!--!$e0-0-0-0-0-0--><link data-hk="0-0-0-0-0-0-0-0-0-1-0-0-0-0-0-0-0-0-0-0" href="/solid-cheat-sheet/_build/assets/index-0023436d.css" rel="stylesheet" precendence="high"/>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="icon" href="/favicon.ico"><script>window._$HY||(e=>{let t=e=>e&&e.hasAttribute&&(e.hasAttribute("data-hk")?e:t(e.host&&e.host.nodeType?e.host:e.parentNode));["click", "input"].forEach((o=>document.addEventListener(o,(o=>{let a=o.composedPath&&o.composedPath()[0]||o.target,s=t(a);s&&!e.completed.has(s)&&e.events.push([s,o])}))))})(_$HY={events:[],completed:new WeakSet,r:{},fe(){}});</script><script>self.$R=self.$R||[];_$HY.r["0-0-0-0-0-0-0-0-0-1-0-0-0-0-0-0"]=$R[0]=($R[1]=(s,f,p)=>((p=new Promise((a,b)=>{s=a,f=b})).s=s,p.f=f,p))();($R[2]=(p,d)=>{p.s(d),p.status="success",p.value=d;delete p.s;delete p.f})($R[0],!0);</script><!--xs--><link href="/solid-cheat-sheet/_build/assets/client-92916b4a.css" rel="stylesheet" precendence="high"/><link href="/solid-cheat-sheet/_build/assets/HttpStatusCode-dd849264.js" rel="modulepreload"/><link href="/solid-cheat-sheet/_build/assets/web-359a0177.js" rel="modulepreload"/><link href="/solid-cheat-sheet/_build/assets/index-e5f2924e.js" rel="modulepreload"/><link href="/solid-cheat-sheet/_build/assets/client-c9b8562c.js" rel="modulepreload"/><link href="/solid-cheat-sheet/_build/assets/index-10b96df2.js" rel="modulepreload"/><link href="/solid-cheat-sheet/_build/assets/index-c3cacaca.js" rel="modulepreload"/><title data-sm="0-0-0-0-0-0-0-0-0-1-0-0-0-0-0-0-0-0-0-1-0-0">Solid Cheat Sheet</title></head><body><div id="app"><!--!$e0-0-0-0-0-0--><link data-hk="0-0-0-0-0-0-0-0-0-1-0-0-0-0-0-0-0-0-0-0" href="/solid-cheat-sheet/_build/assets/index-0023436d.css" rel="stylesheet" precendence="high"/>
<main data-hk="0-0-0-0-0-0-0-0-0-1-0-0-0-0-0-0-0-0-0-1-1-0"><h1 >Solid Cheat Sheet - APIs</h1><section class="cheat-sheet"><dl><dt tabindex="0" aria-describedby="reactiveState"><h2 >Reactive state</h2></dt><dd role="tooltip" id="r"><p >In Solid.js, state is tracked inside a reactive root, which registers function calls (even if through a store getter). Effects and memos are later re-evaluated when state is updated. This allows a very precise control of reactivity.<br><br>
It also means that evaluating reactive state outside of the reactive root, i.e. by destructuring store objects, will result in a loss of reactivity.<br>
<a href="https://www.solidjs.com/guides/reactivity" >Guide</a></p></dd><dt tabindex="0" aria-describedby="createSignal"><p ><code >createSignal</code> - simple state</p></dt><dd role="tooltip" id="c"><pre class="shiki css-variables " style="backgroundColor:var(--shiki-color-background);color:var(--shiki-color-text)" ><div class="language-id " >tsx</div><div class="code-container " ><code ><div class="line " ><span style="color:var(--shiki-token-keyword)" >const</span><span style="color:var(--shiki-color-text)" > [</span><span style="color:var(--shiki-token-constant)" >getter</span><span style="color:var(--shiki-token-punctuation)" >,</span><span style="color:var(--shiki-color-text)" > </span><span style="color:var(--shiki-token-constant)" >setter</span><span style="color:var(--shiki-color-text)" >] </span><span style="color:var(--shiki-token-keyword)" >=</span><span style="color:var(--shiki-color-text)" > </span><span style="color:var(--shiki-token-function)" >createSignal</span><span style="color:var(--shiki-color-text)" >(initialValue)</span></div><div class="line " ><span style="color:var(--shiki-token-function)" >getter</span><span style="color:var(--shiki-color-text)" >() </span><span style="color:var(--shiki-token-comment)" >// reads and tracks the value if inside reactive root</span></div><div class="line " ><span style="color:var(--shiki-token-function)" >setter</span><span style="color:var(--shiki-color-text)" >(value) </span><span style="color:var(--shiki-token-comment)" >// overwrites the value and triggers state updates</span></div></code></div></pre><p >The initial value is optional, createSignal can be typed in TypeScript with a generic.<br>
Expand Down Expand Up @@ -68,4 +68,4 @@
<a href="https://www.solidjs.com/docs/api#%3Cportal%3E" >Docs</a></p></dd><dt tabindex="0" aria-describedby="errorBoundary"><p ><code >&lt;ErrorBoundary></code> - catch errors in components</p></dt><dd role="tooltip" id="e"><pre class="shiki css-variables " style="backgroundColor:var(--shiki-color-background);color:var(--shiki-color-text)" ><div class="language-id " >tsx</div><div class="code-container " ><code ><div class="line "></div></code></div></pre><p >Catches errors for the childrens, present a fallback and allows handling the errors and reset the state.<br>
<a href="https://www.solidjs.com/docs/api#%3Cerrorboundary%3E" >Docs</a></p></dd><dt tabindex="0" aria-describedby="suspense"><p ><code >&lt;Suspense></code> - fallback for async state</p></dt><dd role="tooltip" id="s"><pre class="shiki css-variables " style="backgroundColor:var(--shiki-color-background);color:var(--shiki-color-text)" ><div class="language-id " >tsx</div><div class="code-container " ><code ><div class="line "></div></code></div></pre><p >Shows an optional fallback until the resource promises inside the component (from createResource or lazy) are resolved.<br>
<a href="https://www.solidjs.com/docs/api#%3Csuspense%3E" >Docs</a></p></dd><dt tabindex="0" aria-describedby="suspenseList"><p ><em ><code >&lt;SuspenseList></code></em> - organize async fallback</p></dt><dd role="tooltip" id="s"><pre class="shiki css-variables " style="backgroundColor:var(--shiki-color-background);color:var(--shiki-color-text)" ><div class="language-id " >tsx</div><div class="code-container " ><code ><div class="line "></div></code></div></pre><p ><strong >Experimental;</strong> allows defining the order in which suspended parts of the layout are replaced with the loaded content in order to avoid layout thrashing.<br>
<a href="https://www.solidjs.com/docs/api#%3Csuspenselist%3E" >Docs</a></p></dd></dl></section></main><!--!$/e0-0-0-0-0-0--></div><!--$--><script>window.manifest = {"src/routes/[...404].mdx?pick=$css":{"output":"/solid-cheat-sheet/_build/assets/_...404_-01f4af80.js","assets":[{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/web-359a0177.js","key":"/solid-cheat-sheet/_build/assets/web-359a0177.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-10b96df2.js","key":"/solid-cheat-sheet/_build/assets/index-10b96df2.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/HttpStatusCode-dd849264.js","key":"/solid-cheat-sheet/_build/assets/HttpStatusCode-dd849264.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/_...404_-01f4af80.js","key":"/solid-cheat-sheet/_build/assets/_...404_-01f4af80.js","rel":"modulepreload"}}]},"src/routes/index.mdx?pick=$css":{"output":"/solid-cheat-sheet/_build/assets/index-c3cacaca.js","assets":[{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-0023436d.css","key":"/solid-cheat-sheet/_build/assets/index-0023436d.css","rel":"stylesheet","precendence":"high"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/web-359a0177.js","key":"/solid-cheat-sheet/_build/assets/web-359a0177.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-10b96df2.js","key":"/solid-cheat-sheet/_build/assets/index-10b96df2.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-e5f2924e.js","key":"/solid-cheat-sheet/_build/assets/index-e5f2924e.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-c3cacaca.js","key":"/solid-cheat-sheet/_build/assets/index-c3cacaca.js","rel":"modulepreload"}}]},"virtual:#vinxi/handler/client":{"output":"/solid-cheat-sheet/_build/assets/client-0296dc1b.js","assets":[{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/client-92916b4a.css","key":"/solid-cheat-sheet/_build/assets/client-92916b4a.css","rel":"stylesheet","precendence":"high"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/HttpStatusCode-dd849264.js","key":"/solid-cheat-sheet/_build/assets/HttpStatusCode-dd849264.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/web-359a0177.js","key":"/solid-cheat-sheet/_build/assets/web-359a0177.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-e5f2924e.js","key":"/solid-cheat-sheet/_build/assets/index-e5f2924e.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/client-0296dc1b.js","key":"/solid-cheat-sheet/_build/assets/client-0296dc1b.js","rel":"modulepreload"}}]}}</script><script type="module" async src="/solid-cheat-sheet/_build/assets/client-0296dc1b.js"></script><!--/--></body></html>
<a href="https://www.solidjs.com/docs/api#%3Csuspenselist%3E" >Docs</a></p></dd></dl></section></main><!--!$/e0-0-0-0-0-0--></div><!--$--><script>window.manifest = {"src/routes/[...404].mdx?pick=$css":{"output":"/solid-cheat-sheet/_build/assets/_...404_-01f4af80.js","assets":[{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/web-359a0177.js","key":"/solid-cheat-sheet/_build/assets/web-359a0177.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-10b96df2.js","key":"/solid-cheat-sheet/_build/assets/index-10b96df2.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/HttpStatusCode-dd849264.js","key":"/solid-cheat-sheet/_build/assets/HttpStatusCode-dd849264.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/_...404_-01f4af80.js","key":"/solid-cheat-sheet/_build/assets/_...404_-01f4af80.js","rel":"modulepreload"}}]},"src/routes/index.mdx?pick=$css":{"output":"/solid-cheat-sheet/_build/assets/index-c3cacaca.js","assets":[{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-0023436d.css","key":"/solid-cheat-sheet/_build/assets/index-0023436d.css","rel":"stylesheet","precendence":"high"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/web-359a0177.js","key":"/solid-cheat-sheet/_build/assets/web-359a0177.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-10b96df2.js","key":"/solid-cheat-sheet/_build/assets/index-10b96df2.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-e5f2924e.js","key":"/solid-cheat-sheet/_build/assets/index-e5f2924e.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-c3cacaca.js","key":"/solid-cheat-sheet/_build/assets/index-c3cacaca.js","rel":"modulepreload"}}]},"virtual:#vinxi/handler/client":{"output":"/solid-cheat-sheet/_build/assets/client-c9b8562c.js","assets":[{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/client-92916b4a.css","key":"/solid-cheat-sheet/_build/assets/client-92916b4a.css","rel":"stylesheet","precendence":"high"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/HttpStatusCode-dd849264.js","key":"/solid-cheat-sheet/_build/assets/HttpStatusCode-dd849264.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/web-359a0177.js","key":"/solid-cheat-sheet/_build/assets/web-359a0177.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/index-e5f2924e.js","key":"/solid-cheat-sheet/_build/assets/index-e5f2924e.js","rel":"modulepreload"}},{"tag":"link","attrs":{"href":"/solid-cheat-sheet/_build/assets/client-c9b8562c.js","key":"/solid-cheat-sheet/_build/assets/client-c9b8562c.js","rel":"modulepreload"}}]}}</script><script type="module" async src="/solid-cheat-sheet/_build/assets/client-c9b8562c.js"></script><!--/--></body></html>
Binary file modified index.html.br
Binary file not shown.
Binary file modified index.html.gz
Binary file not shown.

0 comments on commit c9b3602

Please sign in to comment.