cosmos-js VS redux

Compare cosmos-js vs redux and see what are their differences.

cosmos-js

Sandbox for developing and testing UI components in isolation (by react-cosmos)

redux

A JS library for predictable global state management (by reduxjs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
cosmos-js redux
15 268
8,112 60,454
0.7% 0.3%
9.1 9.0
about 2 months ago 9 days ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

cosmos-js

Posts with mentions or reviews of cosmos-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-03.
  • 13 best React debugging tools
    4 projects | dev.to | 3 Jan 2024
    React Cosmos emerges as an invaluable asset among React debugging tools, tailored for both React and React Native projects. It stands out by offering a conducive environment for developers to meticulously work on, test, and iterate UI components, ensuring they seamlessly integrate with the intended application settings.
  • Do you use Storybook in your React Native projects?
    1 project | /r/reactnative | 31 Mar 2022
    I switched to cosmos (https://github.com/react-cosmos/react-cosmos ) awhile back and like it a lot more. Storybook might have caught up this now I havnt tried again since.
  • Learning React.js
    1 project | dev.to | 25 Mar 2022
    4. React Cosmos
  • React Cosmos: Great Potential
    1 project | news.ycombinator.com | 21 Mar 2022
  • Storybook lightweight alternative 2022?
    3 projects | /r/reactjs | 15 Feb 2022
    There’s react cosmos https://github.com/react-cosmos/react-cosmos
  • React Cosmos with Remix
    2 projects | dev.to | 9 Dec 2021
    Enter https://reactcosmos.org. It's an alternative to Storybook and to me looks a bit cleaner with smaller amount of boilerplate needed to get running out of the box. It runs a separate dev server with a clean UI displaying all of your component fixtures.
  • Open Source React Developer Tools in Today's Digital Era
    3 projects | dev.to | 5 Dec 2021
    React Cosmos This is a useful developer tool that aids in the creation of reusable React components. It looks for components in React projects and allows them to be rendered using any mix of props, context, and state. React Cosmos allows developers to simulate any external dependency, such as localStorage or API replies, in order to examine the current state of their project in real time. 11.React Sight This React visualization tool provides a visual depiction of the structure of React apps to developers. The tool requires the previously described React Developer Tools for Chrome. Developers who want to use it will also need to install React Sight as a Chrome extension, which adds a new "React Sight" panel to Chrome DevTools. React Router and Redux are supported by the utility. 12.React 360 This is a web-based platform for producing interactive 360-degree experiences. It blends React's declarative capabilities with current APIs like WebGL and WebVR to allow developers to construct applications that can be used on a variety of platforms. The tool is designed to make the creation of cross-platform 360 experiences easier by leveraging web technologies and the robust React ecosystem. Conclusion React has become such a valuable framework for frontend developers who want to create attractive and effective user experiences thanks to these and many other tools. Of all, this is only a small selection of fantastic tools. Every year, the number of React developer tools expands. The React community is dedicated to assisting one another and making React development more developer-friendly.Get assistance from the best react agency to build a mobile application.
  • Awesome React Resources
    34 projects | dev.to | 4 Dec 2021
    react-cosmos - Dev tool for creating reusable React components
  • Top 7 React Developer Tools to Use in 2021 (With Bonus!)
    8 projects | dev.to | 10 Nov 2021
    5. React Cosmos
  • Getting Started with React Cosmos
    5 projects | dev.to | 23 Aug 2021
    React Cosmos is a library that provides a sandbox environment for developing and testing React components in Isolation.

redux

Posts with mentions or reviews of redux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-12.
  • A Comprehensive Guide to React State Management
    3 projects | dev.to | 12 Apr 2024
    Redux
  • Full Stack Web Development Concept map
    11 projects | dev.to | 23 Mar 2024
    redux - Redux is a key tool used in managing state across an application. This can be used with any web technology including React, Vue and Angular docs
  • State Management Nx React Native/Expo Apps with TanStack Query and Redux
    8 projects | dev.to | 17 Feb 2024
    Redux is a client-state library.
  • Redux 101
    6 projects | dev.to | 3 Jan 2024
  • The 20 most used React libraries
    9 projects | dev.to | 29 Dec 2023
    react-redux: A powerhouse for efficient state management and data flow control. Learn more
  • React State Management in 2024
    5 projects | dev.to | 8 Dec 2023
    Reducer-based: requires dispatching actions to update a big centralised state, often called a “single source of truth”. In this group, we have Redux and Zustand.
  • Redux Toolkit 2.0: new features, faster perf, smaller bundle sizes (plus major versions for all Redux family packages!)
    7 projects | /r/reactjs | 5 Dec 2023
  • Redux Toolkit 2.0: new features, faster perf, smaller bundle sizes, and more
    6 projects | news.ycombinator.com | 4 Dec 2023
    I am _thrilled_ to announce that:

    Redux Toolkit 2.0 is LIVE!!!

    - https://github.com/reduxjs/redux-toolkit/releases/tag/v2.0.0

    This major version has new features, faster perf, smaller bundle size, and removes deprecated options.

    It's accompanied by majors for all our Redux family packages

    ## RTK 2.0:

    - a new `combineSlices` method for lazy-loading reducers - Updates to `createSlice` to include a `selectors` field and allow defining thunks inside

    - Immer 10 w/ faster updates

    - Removal of deprecated options

    See the migration guide:

    - https://redux.js.org/usage/migrations/migrating-rtk-2

    All of the Redux libraries now have modernized packaging with full ESM/CJS compat. They also ship modern JS (no transpiling for IE11), which means smaller bundle sizes.

    We've also done byte-shaving work to shrink the bundles (extracting error messages, de-duping imports)

    ## Redux core 5.0:

    - The TS conversion we did in 2019!

    - Action types _must_ be strings

    - `UnknownAction` as the default action type

    - Better preloaded state types

    - Internal subscription improvements

    - Still marks `createStore` as deprecated!

    - https://github.com/reduxjs/redux/releases/tag/v5.0.0

    ## React-Redux 9.0:

    - *Now requires React 18 and RTK 2.0 / Redux 5.0*

  • HTML Data Attributes: One of the Original State Management Libraries
    5 projects | dev.to | 29 Nov 2023
    DEV is a Rails monolith, which uses Preact in the front-end using islands architecture. The reason why I mention all this is that it's not a full-stack JavaScript application, and there is no state management library like Redux or Zustand in use. The data store, for the most part on the front end, is all data attributes.
  • Blogged Answers: My Experience Modernizing Packages to ESM
    2 projects | news.ycombinator.com | 25 Nov 2023
    Oh hey, that's my post!

    (yes I spend too much time refreshing HN :) )

    FWIW I did end up with a packaging combination that seems to work sufficiently. I never did fix the "FalseCJS" issue that `are-the-types-wrong` is detecting. I played with double-emitting TS typedefs, and the `tsup` tool _does_ actually have support for that now (added by Andrew Branch from the TS team). So it might be more feasible now. But ultimately I decided I was tired of messing with packaging setup and that what I've got is good enough. (hopefully)

    We're actually about to launch Redux Toolkit 2.0 and Redux 5.0 this week, assuming the last couple pieces come together. Here's the latest RCs - you can see the current `package.json` files in there:

    - https://github.com/reduxjs/redux-toolkit/releases/tag/v2.0.0...

    - https://github.com/reduxjs/redux/releases/tag/v5.0.0-rc.1

What are some alternatives?

When comparing cosmos-js and redux you can also consider the following projects:

storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.

zustand - 🐻 Bear necessities for state management in React

react-styleguidist - Isolated React component development environment with a living style guide

remix - Build Better Websites. Create modern, resilient user experiences with web fundamentals.

react-atellier - The smartest way to share interactive components with your team.

SWR - React Hooks for Data Fetching

component-controls - A next-generation tool to create blazing-fast documentation sites.

valtio - 💊 Valtio makes proxy-state simple for React and Vanilla

mighty-react-snippets - Crafty React & Redux snippets for Atom Editor

swift-composable-architecture - A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.

React PWA - An upgradable boilerplate for Progressive web applications (PWA) with server side rendering, build with SEO in mind and achieving max page speed and optimized user experience.

react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]