urql
MobX
Our great sponsors
urql | MobX | |
---|---|---|
17 | 42 | |
8,446 | 27,126 | |
1.4% | 0.4% | |
9.0 | 8.0 | |
7 days ago | 7 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.
urql
-
Top React Data Fetching Libraries
urql (8k ⭐) -> A highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
-
Apollo Layoffs
Eh, https://github.com/urql-graphql/urql is considered the improved re-architected project that doesn't contain the legacy baggage from the beginning of GraphQL like Apollo does.
-
React Real Time Messaging With GraphQL
urql docs
- Conditionally rendering
-
End-to-end GraphQL error handling?
I want to share my approach to handling errors in GraphQL resolvers (I use GraphQL Yoga on the server-side) and pass them to the frontend side (where I use Svelte + @urql/svelte).
-
Svelte GraphQL Resources
Repository
-
Open sourcing a privacy-friendly and customizable Disqus alternate 🚀🔥
API client: urql
-
If every component made it's own API call to get the data, would that be an overkill for the server?
Here is link number 1 - Previous text "way"
There's gotta be a better way
-
The React roadmap for beginners you never knew you needed.
urql
MobX
-
Redux 101
MobX
-
React State Management in 2024
Mutable-based: leverages proxy to create mutable data sources which can be directly written to or reactively read from. Candidates in this group are MobX and Valtio.
-
Show HN: Cami.js – A No Build, Web Component Based Reactive Framework
Looks good! FWIW I always felt the observable pattern much more intuitive than the redux/reducer style. Something like https://mobx.js.org/
Things get hairy in both, but redux pattern feels so ridiculously ceremonially to effectively manage a huge global state object with a false sense of "purity".
Observables otoh say "fuck it, I'm mutating everything, do what you want with it".
-
State Management Alternatives: Best Tools for React Apps
MobX Documentation
-
React native for Linux app development in 2023
There's also others libraries like https://github.com/mobxjs/mobx which aren't specific to RN but can be used in any JS environment.
-
Is redux and thunks still used or are there other alternatives for it now?
Valtio is like simplified MobX
-
What is React State Management?
Link: https://mobx.js.org
-
A cure for React useState hell?
But I want to impress upon you that this is just only one of many patterns you can use this hook for. While this is subjective, I am personally not a huge fan of Redux and this type of pattern. It has its merits, but I think once you want to start layering in new patterns for actions, Mobx, Zustand, or XState are preferable in my personal opinion.
-
React Redux
It's important to note that Redux is just one of many options for global state management in a React application. Other popular options include MobX and the React context API.context API](https://reactjs.org/docs/context.html).
-
Managing my buisness logic with OOP
MobX - or even MobX-state-tree if you prefer
What are some alternatives?
zustand - 🐻 Bear necessities for state management in React
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]
RxJS - A reactive programming library for JavaScript
Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
riverpod - A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
valtio - 💊 Valtio makes proxy-state simple for React and Vanilla
apollo-client - :rocket: A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
apollo - 🚀 Apollo/GraphQL integration for VueJS
graphql-request - Minimal GraphQL client
SWR - React Hooks for Data Fetching
Cycle.js - A functional and reactive JavaScript framework for predictable code
get_it - Get It - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App. Maintainer: @escamoteur