<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Shredder - Xcraft</title>
    <link>/xcraft/shredder/index.html</link>
    <description>A wrapper around immutable JS&#xA;Time is the moving image of still eternity.&#xA;– Platon</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <atom:link href="/xcraft/shredder/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Overview</title>
      <link>/xcraft/shredder/overview/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/xcraft/shredder/overview/index.html</guid>
      <description>The definition of Immutable Unchanging over time or unable to be changed.&#xA;Immutable data encourages pure functions (data-in, data-out) and lends itself to much simpler application development, enabling techniques from functional programming such as lazy evaluation.&#xA;The shredder We created the Shredder wrapper to simplify the use of immutable.js in our applications and for frontend use.&#xA;You can shreddify your JS objects by using the Shredder class.&#xA;const myShredder = new Shredder({ id: &#39;random@213g4auzoaidkhj&#39;, map: { firstElement: { subElement: &#39;test&#39;, }, larry: [&#39;1&#39;, &#39;2&#39;, &#39;3&#39;], }, larray: [&#39;Halle&#39;, &#39;Lujah!</description>
    </item>
    <item>
      <title>Usage</title>
      <link>/xcraft/shredder/usage/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/xcraft/shredder/usage/index.html</guid>
      <description>State management In a goblin, the state is always a shredder:&#xA;const logicHandlers = { type: (state, action) =&gt; { return state; }, }; Exemple state If we manage a collection of some entity, we encourage to use entity id as key:&#xA;const exempleCollection = { id1: { id: &#39;id1&#39;, name: &#39;Shredder 1000&#39;, version: 1, hp: &#39;1000CH&#39;, }, id2: { id: &#39;id2&#39;, name: &#39;Shredder 2000&#39;, version: 2, hp: &#39;2000CH&#39;, }, id3: { id: &#39;id3&#39;, name: &#39;Mega Shredder 6000&#39;, version: 3, hp: &#39;6000CH&#39;, }, }; Set method state.</description>
    </item>
  </channel>
</rss>