toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

234
active users

#statemanagement

0 posts0 participants0 posts today
xoron :verified:<p>React-like functional webcomponents, but with vanilla HTML, JS and CSS</p><p>Introducing Dim – a new <a href="https://infosec.exchange/tags/Framework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Framework</span></a> that brings <a href="https://infosec.exchange/tags/ReactJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReactJS</span></a>-like functional <a href="https://infosec.exchange/tags/JSX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSX</span></a>-syntax with <a href="https://infosec.exchange/tags/VanillaJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VanillaJS</span></a>. Check it out here:<br>🔗 Project: <a href="https://github.com/positive-intentions/dim" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/positive-intentions</span><span class="invisible">/dim</span></a><br>🔗 Website: <a href="https://dim.positive-intentions.com" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">dim.positive-intentions.com</span><span class="invisible"></span></a></p><p>My journey with <a href="https://infosec.exchange/tags/WebComponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponents</span></a> started with Lit, and while I appreciated its native browser support (less <a href="https://infosec.exchange/tags/Tooling" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tooling</span></a>!), coming from <a href="https://infosec.exchange/tags/ReactJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReactJS</span></a>, the class components felt like a step backward. The <a href="https://infosec.exchange/tags/FunctionalProgramming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FunctionalProgramming</span></a> approach in React significantly improved my <a href="https://infosec.exchange/tags/DeveloperExperience" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DeveloperExperience</span></a> and debugging flow.</p><p>So, I set out to build a thin, functional wrapper around <a href="https://infosec.exchange/tags/Lit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lit</span></a>, and Dim is the result! It's a <a href="https://infosec.exchange/tags/ProofOfConcept" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ProofOfConcept</span></a> right now, with "main" <a href="https://infosec.exchange/tags/Hooks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Hooks</span></a> similar to React, plus some custom ones like useStore for <a href="https://infosec.exchange/tags/EncryptionAtRest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EncryptionAtRest</span></a>. (Note: <a href="https://infosec.exchange/tags/StateManagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StateManagement</span></a> for encryption-at-rest is still unstable and currently uses a hardcoded password while I explore <a href="https://infosec.exchange/tags/Passwordless" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Passwordless</span></a> options like <a href="https://infosec.exchange/tags/WebAuthn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebAuthn</span></a>/#Passkeys).</p><p>You can dive deeper into the <a href="https://infosec.exchange/tags/Documentation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Documentation</span></a> and see how it works here:<br>📚 Dim Docs: <a href="https://positive-intentions.com/docs/category/dim" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">positive-intentions.com/docs/c</span><span class="invisible">ategory/dim</span></a></p><p>This <a href="https://infosec.exchange/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a> project is still in its early stages and very <a href="https://infosec.exchange/tags/Unstable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Unstable</span></a>, so expect <a href="https://infosec.exchange/tags/BreakingChanges" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BreakingChanges</span></a>. I've already received valuable <a href="https://infosec.exchange/tags/Feedback" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Feedback</span></a> on some functions regarding <a href="https://infosec.exchange/tags/Security" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Security</span></a>, and I'm actively investigating those. I'm genuinely open to all feedback as I continue to develop it!</p><p><a href="https://infosec.exchange/tags/FrontendDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FrontendDev</span></a> <a href="https://infosec.exchange/tags/JSFramework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSFramework</span></a> <a href="https://infosec.exchange/tags/Innovation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Innovation</span></a> <a href="https://infosec.exchange/tags/Coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coding</span></a> <a href="https://infosec.exchange/tags/Programmer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programmer</span></a> <a href="https://infosec.exchange/tags/Tech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tech</span></a></p>
LavX News<p>Building a Minimal Class-Based Store for React: A Deep Dive</p><p>Explore the intricacies of creating a minimal class-based store in React with a focus on state management and performance optimization. This article dissects the code, explaining its components and th...</p><p><a href="https://news.lavx.hu/article/building-a-minimal-class-based-store-for-react-a-deep-dive" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">news.lavx.hu/article/building-</span><span class="invisible">a-minimal-class-based-store-for-react-a-deep-dive</span></a></p><p><a href="https://ioc.exchange/tags/news" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>news</span></a> <a href="https://ioc.exchange/tags/tech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tech</span></a> <a href="https://ioc.exchange/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://ioc.exchange/tags/React" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>React</span></a> <a href="https://ioc.exchange/tags/StateManagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StateManagement</span></a></p>
Jan :rust: :ferris:<p>All these "state management" solutions of the "modern web" like <a href="https://floss.social/tags/Redux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Redux</span></a>, Zustand or whatever try to solve state management in UI apps by introducing unfathomable amount of complexity...</p><p>...when in reality all you need is <a href="https://floss.social/tags/Bevy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bevy</span></a>'s <a href="https://floss.social/tags/ECS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ECS</span></a>. ¯\_(ツ)_/¯</p><p>✨ </p><p><a href="https://floss.social/tags/GUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GUI</span></a> <a href="https://floss.social/tags/UI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UI</span></a> <a href="https://floss.social/tags/StateManagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StateManagement</span></a> <a href="https://floss.social/tags/DataOrientedDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataOrientedDesign</span></a> <a href="https://floss.social/tags/DoD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DoD</span></a></p>
ZephyrXero<p>After spending the past few months wrangling nested hooks and contexts, Preact's Signals library sounds beautiful</p><p><a href="https://www.youtube.com/watch?v=SO8lBVWF2Y8" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=SO8lBVWF2Y</span><span class="invisible">8</span></a></p><p><a href="https://preactjs.com/guide/v10/signals/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">preactjs.com/guide/v10/signals</span><span class="invisible">/</span></a></p><p><a href="https://layer8.space/tags/react" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>react</span></a> <a href="https://layer8.space/tags/preact" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>preact</span></a> <a href="https://layer8.space/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a> <a href="https://layer8.space/tags/stateManagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>stateManagement</span></a></p>
Ville Takanen<p>I was first a bit annoyed at how much Astro promotes using nanostores. </p><p>But after figuring out how nanostores work - I'm now all in favour. A wonderful lib for <a href="https://mementomori.social/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mementomori.social/tags/frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frontend</span></a> <a href="https://mementomori.social/tags/statemanagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>statemanagement</span></a></p>
GeekMeSpeakStef💙:flutter: :va:<p>2/ This edition comes with new chapters on Advanced <a href="https://fluttercommunity.social/tags/InteractiveWidgets" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>InteractiveWidgets</span></a>, <a href="https://fluttercommunity.social/tags/UnitTesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UnitTesting</span></a>, and <a href="https://fluttercommunity.social/tags/WidgetTesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WidgetTesting</span></a>, along with the <a href="https://fluttercommunity.social/tags/StateManagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StateManagement</span></a> chapter now includes <a href="https://fluttercommunity.social/tags/Riverpod" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Riverpod</span></a>.</p><p>There is a major update to the <a href="https://fluttercommunity.social/tags/Firebase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Firebase</span></a> <a href="https://fluttercommunity.social/tags/CloudFirestore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CloudFirestore</span></a> chapter. Instead of separate sections for manually setting up Firestore to work in Android and iOS <a href="https://fluttercommunity.social/tags/Flutter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Flutter</span></a> apps, now one learns how to use <a href="https://fluttercommunity.social/tags/FlutterFire" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FlutterFire</span></a> CLI to <a href="https://fluttercommunity.social/tags/Firestore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Firestore</span></a> to work with Android, iOS, macOS, and Web apps.</p>
nosh :fosstodon: (ʘ‿ʘ)<p>:react: <br>A new fine-grained reactivity state manager</p><p>Legend-State:</p><p>There is a new state manager for react, that promises to be fast; provides fine-grained reactivity; allows global storage &amp; allows state storage in local storage.</p><p><a href="https://legendapp.com/open-source/state/" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">legendapp.com/open-source/stat</span><span class="invisible">e/</span></a></p><p><a href="https://youtu.be/E4TH77SMOG8" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/E4TH77SMOG8</span><span class="invisible"></span></a></p><p>They are accepting requests for implementations for other frameworks:</p><p><a href="https://legendapp.com/open-source/state/other-frameworks/" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">legendapp.com/open-source/stat</span><span class="invisible">e/other-frameworks/</span></a></p><p><a href="https://fosstodon.org/tags/reactjs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reactjs</span></a> <br><a href="https://fosstodon.org/tags/statemanagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>statemanagement</span></a> <br><a href="https://fosstodon.org/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <br><a href="https://fosstodon.org/tags/frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frontend</span></a></p>
Daishi Kato<p>Jotai atomic updates can eliminate "memo". Which approach do you prefer? Black one or white one?</p><p><a href="https://fosstodon.org/tags/ReactJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReactJS</span></a> <a href="https://fosstodon.org/tags/Jotai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jotai</span></a> <a href="https://fosstodon.org/tags/StateManagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StateManagement</span></a> <a href="https://fosstodon.org/tags/ReactHooks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReactHooks</span></a> <a href="https://fosstodon.org/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://fosstodon.org/tags/TypeScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TypeScript</span></a></p>