nanostores
payload

nanostores | payload | |
---|---|---|
20 | 178 | |
6,314 | 35,850 | |
1.9% | 2.0% | |
7.6 | 10.0 | |
about 1 month ago | 10 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nanostores
-
Using nanostores in Astro + Vue setup
use a shared state manager like nanostores
- Nanostores: A tiny (286 bytes) state manager for React/RN/Preact/Vue/Svelte
-
Building jargons.dev [#2]: The Dictionary Search Engine
I retrieved access to files the directory of words using the Astro.glob() function super easily (too bad I couldn't talk about how powerful this function is; how glad I am it existed out-the-box in Astro and how much ease it brought into the flow of getting this search engine up and running) and plugged the returned array of word objects into a $dictionary state (maybe I should call this a store) powered by nanostore (another beautiful stuff right there)
-
Astro.js as an alternative to Next.js: pushing the limits
In its docs, Astro recommends nanostores, but I’ve used effector in the past. And LOVED IT. So I’ve used it for this project as well.
-
React roadmap ( with explanations and resources, all in one place)
Nanostores explanation
-
How to Write a Great Readme
vidstack is very light on technical details but starts with a concise intro and a screenshot, as well as relevant links: https://github.com/vidstack/player
payload is well-structured in general: https://github.com/payloadcms/payload
nanostores starts out with an intro and telling code examples, followed by lots of technical details: https://github.com/nanostores/nanostores
-
Is redux and thunks still used or are there other alternatives for it now?
Nanostores and Reatom are also great, fast atomic libs
-
Is it possible to build a “framework agnostic” library like tanstack table?
Astro handles multi-framework components (React, Vue, etc) and they recommend using the nanostores library for shared state.
-
how to share state between components with distant shared parent?
Checkout Nanostore it's what Astro.build recommends for sharing state across different ui libraries.
-
Building a multi-framework dashboard with Astro
All of these are valid ways of fixing the state management issue, but it's clear that we need to find a common solution that works for all the UI libraries. This is where nanostores comes into play! The description they provide on their GitHub page is simply perfect:
payload
- Figma Acquires OSS CMS Payload
-
I Found Perfect CMS after Years of Trial and Error
Payload, a CMS powered by Next.js, or Sveltia CMS, a Decap CMS alternative using Svelte, are examples of CMS that I recommend to avoid until they become framework agnostic.
-
[Video] Payload CMS Custom Array Field Component
Learn how to implement a custom tagging system in Payload CMS using the array field and a custom React component! This video walks you through building a dynamic tag input where users can add, remove, and manage tags directly within the Payload admin panel.
-
Firebase and Payload CMS: Early Look at a Client-Side Auth Strategy
This post details a proof-of-concept integration of Firebase Authentication with Payload CMS, focusing on the client-side implementation using Next.js. The goal is to allow users to authenticate via Firebase's various sign-in methods and then use the resulting Firebase ID token to securely access data and functionality within a Payload CMS instance. This is a work in progress, and I welcome feedback and suggestions for improvement.
-
I Built a Fast Image Compressor with Next.js and Payload
Check out https://swissknife.cc/!
I made a super fast image compressor that can handle up to 40 images at once, though it can do far more if needed. I'm currently limiting it to 40 images to explore the limits. It supports JPEG and PNG formats, making it perfect for social media and web use. Built entirely with Next.js and Payload (a headless CMS https://payloadcms.com/). This is just one of many tools we'll be adding to SwissKnife.cc.It's free to use, and your feedback is welcome. If you're interested or want a specific tool added, let me know!
Give it a try and share your thoughts!
-
Authentication with Payload CMS and Next.js: Client vs Server Approaches
Payload Official Auth Example
-
[Video] 🚀 Real-Time Updates in Payload CMS with Web Sockets!
One of the most critical features for enterprise solutions is real-time data updates—whether for dashboards, notifications, or live collaboration. While Payload CMS doesn’t natively support WebSockets (yet), I put together a solution to enable real-time updates today!
-
Access Control in Payload CMS - A Quick Reference Guide
Quick overview, Cheat Sheet, for The access control functions following Payload CMS 3 structure, which allows defining rules for read, create, update, and delete operations using dynamic conditions.
-
Ask HN: Best headless CMS for a developer portal
Check out Payload - fully OSS, modeled after the … few good parts of WP
https://payloadcms.com
-
Building a Simple Real-Time Chat App with Payload CMS
Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
What are some alternatives?
jotai - 👻 Primitive and flexible state management for React
Directus - The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.
effector-react - Business logic with ease ☄️
webiny-js - Open-source serverless enterprise CMS. Includes a headless CMS, page builder, form builder, and file manager. Easy to customize and expand. Deploys to AWS.
tsm - TypeScript Module Loader
Strapi - 🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable, and developer-first.
