frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Fluent-state: a new fresh take on local React state

https://github.com/marsbos/fluent-state
4•bosmarcel•4h ago
Hi HN

I built *fluent-state*, a lightweight React hook that replaces useState, useReducer, useMemo, and useEffect.

It gives you:

- A fluent, proxy-based API: `state.user.name('Joe')` - Immutable updates without spread logic - Automatic dependency tracking - Built-in `compute` for reactive, memoized derived state (no useMemo needed) - Built-in `effect` for reactive side-effects with automatic dependency tracking (no useEffect needed) - Zero boilerplate, full control

Designed for local state, nested structures, and clean, declarative code.

Demo: https://stackblitz.com/edit/vitejs-vite-uh4kyzkf?file=src%2F... GitHub: https://github.com/marsbos/fluent-state NPM: https://www.npmjs.com/package/fluent-state

Try it out plz.

Comments

bosmarcel•4h ago
Hi everyone!

Thanks for the interest in fluent-state.

Just a quick note: for easy installation and trying out the demo, check out these links:

NPM: https://www.npmjs.com/package/fluent-state

Demo: https://stackblitz.com/edit/vitejs-vite-uh4kyzkf?file=src%2F...

The GitHub repo is still available here for source and issues: https://github.com/marsbos/fluent-state

Happy coding!

CSS Intelligence: Speculating on the Future of a Smarter Language

https://www.smashingmagazine.com/2025/07/css-intelligence-speculating-future-smarter-language/
1•almost-exactly•38s ago•0 comments

LLM Internals for Beginners

https://vivekkairi.com/llm-internals-for-beginners/
1•vivekkairi•1m ago•0 comments

Administration to spend $1B on 'offensive' hacking operations

https://techcrunch.com/2025/07/14/trump-administration-to-spend-1-billion-on-offensive-hacking-operations/
1•rbanffy•2m ago•0 comments

Lovelace Report reveals £2-3.5B annual loss from women leaving UK tech

https://www.computing.co.uk/news/2025/leadership-strategy/2025-lovelace-report-reveals-billions-lost-by-women-leaving-tech
1•rbanffy•3m ago•0 comments

Dictionary.com "devastated" paid users by abruptly deleting saved words lists

https://arstechnica.com/gadgets/2025/07/dictionary-com-devastated-paid-users-by-abruptly-deleting-saved-words-lists/
1•stalfosknight•3m ago•0 comments

A New Geometry for Einstein's Theory of Relativity

https://www.quantamagazine.org/a-new-geometry-for-einsteins-theory-of-relativity-20250716/
2•jandrewrogers•4m ago•0 comments

Pimping My Casio: Part Deux

https://blog.jgc.org/2025/07/pimping-my-casio-part-deux.html
1•jgrahamc•6m ago•0 comments

Show HN: A tool to play with prime-generating functions and patterns

https://ilmenit.github.io/prime-fold/
1•ilmenit•6m ago•0 comments

A Tour of Microsoft's Mac Lab (2006)

https://davidweiss.blogspot.com/2006/04/tour-of-microsofts-mac-lab.html
1•herbertl•6m ago•0 comments

Long-Sequence Memory with Temporal Kernels and Dense Hopfield Functionals

https://arxiv.org/abs/2507.01052
1•PaulHoule•7m ago•0 comments

Congress Passes Genius Act in Major Win for US Crypto Industry

https://www.wired.com/story/genius-act-congress-crypto-law-passes/
1•josefresco•7m ago•0 comments

ICE Is Getting Unprecedented Access to Medicaid Data

https://www.wired.com/story/ice-access-medicaid-data/
2•josefresco•7m ago•1 comments

The Number go up rule: Why America refuses to fix anything

https://www.thebignewsletter.com/p/the-number-go-up-rule-why-america
8•disgruntledphd2•8m ago•0 comments

WindSurf Is Dead. Google Paid $2.4B Just to Kill It?

https://www.onemandb.com/blog/windsurf-is-dead-google-paid-2-4b-just-to-kill-it
1•stosssik•8m ago•0 comments

Ask HN: Any Htmx CEO here? what is your tech stack?

2•jerawaj740•9m ago•0 comments

Show HN: Snackit – Create Quizes from YouTube Videos

https://snackit.app
1•alexandru84•10m ago•0 comments

Psychedelic mushroom molecule just showed signs of slowing aging

https://twitter.com/bryan_johnson/status/1943824432419811437
2•Bluestein•11m ago•0 comments

Connie Francis, 1960s US pop star known for Pretty Little Baby, dies at 87

https://www.theguardian.com/music/2025/jul/17/connie-francis-singer-dies
1•bookofjoe•11m ago•0 comments

Counting Carbon Calories

https://www.solipsys.co.uk/new/CountingCarbonCalories.html?yg18hn
4•ColinWright•12m ago•0 comments

5-week co-founder trial: 90% AI-coded app that coaches founders on The Mom Test

https://unpitched.app/?hn
2•gkk•12m ago•1 comments

Lookout Discovers Massistant Chinese Mobile Forensic Tooling – Threat Intel

https://www.lookout.com/threat-intelligence/article/massistant-chinese-mobile-forensics
2•mikece•13m ago•0 comments

Lloyds in Talks to Buy Fintech Firm Curve for £120M

https://www.bloomberg.com/news/articles/2025-07-12/lloyds-in-talks-to-buy-fintech-firm-curve-for-120m-sky-says
1•franze•14m ago•0 comments

From Chatbots to Components: Teaching Devs to Think of LLMs as (Fuzzy) Functions

https://spin.atomicobject.com/llms-as-fuzzy-functions/
2•philk10•15m ago•0 comments

PhpMyChroma – Simple Web client for ChromaDb in PHP

https://github.com/pari/phpMyChroma
1•vyoming•16m ago•1 comments

A startup is a bundle, and Windsurf broke the bundle

https://danco.substack.com/p/a-startup-is-a-bundle-and-windsurf
2•jger15•16m ago•0 comments

Eight tips about consent for Fediverse developers

https://privacy.thenexus.today/consent-for-fediverse-developers/
3•BallsInIt•17m ago•0 comments

Ask HN: Knowledge/skills to develop and contribute to projects like Unsloth?

1•hedgehog0•18m ago•0 comments

Who Wants to Be Acquired: 5 AI/Dev MVPs (1 Monetized, Full Code, Domains

1•dr_terapeut•18m ago•0 comments

Show HN: Open-Source API for AI Presentation Generation

https://github.com/presenton/presenton
1•sooraz_zha•19m ago•0 comments

Among the A.I. Doomsayers

https://www.newyorker.com/magazine/2024/03/18/among-the-ai-doomsayers
2•randycupertino•19m ago•1 comments