Hacker News
- Redux vs. The React Context API https://daveceddia.com/context-api-vs-redux/ 73 comments
- The Path to Hell: React’s Context API https://codethrasher.com/post/2019-08-02-the-path-to-hell/ 2 comments
- Show HN: Simple way to share state using React Hooks and Context https://github.com/diegohaz/constate 80 comments
- React-Redux Roadmap: v6, Context, Subscriptions, and Hooks https://github.com/reduxjs/react-redux/issues/1177 16 comments reactjs
- Scaling up React useReducer with Context https://react.dev/learn/scaling-up-with-reducer-and-context 6 comments reactjs
- When to (Not) Use React Context API for State? https://blog.jannikwempe.com/when-to-not-use-react-context-api-for-state 2 comments reactjs
- Typing React context, trying to understand this example from the cheatsheet. https://www.typescriptlang.org/play?jsx=1#code/JYWwDg9gTgLgBAKjgQwM5wEoFNkGN4BmUEIcARFDvmQNwBQdA9AgnYnAIJwAWWANmCxQ4MCHFyVkMLCjgBhCADtpAD3jJFAEzgAFYgDdgmoXADuwGNziKxAVzBEl8YwWS2+8fcj62sAGhQtNiRzSwhbeG5kQ0UAcxExXF5cAGs4Amg4Wy0sAmBFLG1vPhFeEVAsADpgxjoCbPxgJXFJaTkYFQAeLiw1LC10AG8AXzgAH2t3PgA+AAoASjhBtnElVHh8FTgAXkwqGEqJHDanXphu8aycvILNOeyXfML5+jh0hpgmxSzULHaVBZLFZvXBrDY7PZ4A62X4KZRnWabF7AuDAAhwRE7ba7B65J6aRaWYimaxYEkAUSgxCgszIML+HTgIBh8AARjJ8qgjDJkLoDNzhKErLyvD4sGRkW83pQYLYoN9cK84MMVjK5d8ANr0-4BTaVPQQQzGKAAXRQ6FBinWNDgjEYcAA5GhVlaYA6mcgUlh0AAVACeggAyhJgGB4PkCCZebKwHwsHQVUx7QBVVDIWJYABcDDtcAA6jJ1sA+CUovoZKI4KhBLg0X7ZDAA-44KyItYxC43B4AIR0XqQWAu9ZwLWwuWUZSpoQAOWQIGbcnH-RgU6gBqNQjNuyOUgZXXWUHysTmyLqHy+cHJym4MLQn1wAHFKFhPnFAcsQWDxEvJ79hDixypZdV1necFiVNV5TgTpNGAfRpgACXJAAZZCAHkllwH8Vz-SpRGTMBBCgOQ0CwBZhm7TpGFg+D6ETepFEaZoOEI99VRfdVoMXIDfyEdcBTgUVfG2MhAyiUxFDIaYUU6K9LFvItH2fV94kYaS3io7iJxwvj+WNaY6KAA 7 comments typescript
- React context without context, using XState https://swizec.com/blog/react-context-without-context-using-xstate-codewithswiz-14-15 23 comments reactjs
- Using Redux Toolkit’s createReducer with React Context and TypeScript https://jacobwicks.github.io/2020/08/16/use-redux-toolkit-createreducer-with-react-context-and-typescript.html 3 comments reactjs
- Up to date answer about when to use React context or Redux (Redux Toolkit) https://gist.github.com/slikts/57ff1acdb6f5b2ea075b701d1daf896d 40 comments reactjs
- Understanding the Context API by Building a Spotify Clone in React https://upmostly.com/tutorials/how-to-use-the-usecontext-hook-in-react 9 comments reactjs
- Building React Components using children props and Context API https://blog.soshace.com/en/javascript/building-react-components-using-children-props-and-context-api/ 16 comments reactjs
- React RFC: Context Selectors https://github.com/gnoff/rfcs/pull/2 10 comments reactjs
- The simplest way to share state using React Hooks and Context https://twitter.com/diegohaz/status/1093204345808654336 3 comments reactjs
- Avoiding unnecessary renders with React context https://frontarm.com/articles/react-context-performance/ 11 comments reactjs
- Redux vs. The React Context API https://daveceddia.com/context-api-vs-redux/ 60 comments reactjs
- React Context + State = Constate https://twitter.com/diegohaz/status/979941860952199168 5 comments reactjs
- Bitmasks and the new React Context API https://hph.is/coding/bitmasks-react-context 7 comments reactjs
- Tinkering with observability for shared React states (without context), would love any thoughts https://codesandbox.io/s/react-typescript-forked-odqbgg?file=%2Fsrc%2FApp.tsx 6 comments reactjs
- How to use React Context like a pro https://devtrium.com/posts/how-use-react-context-pro 24 comments reactjs
- Why React Context is Not a "State Management" Tool (and Why It Doesn't Replace Redux) https://blog.isquaredsoftware.com/2021/01/blogged-answers-why-react-context-is-not-a-state-management-tool-and-why-it-doesnt-replace-redux/ 64 comments javascript
- Why React Context is Not a "State Management" Tool (and Why It Doesn't Replace Redux) https://blog.isquaredsoftware.com/2021/01/blogged-answers-why-react-context-is-not-a-state-management-tool-and-why-it-doesnt-replace-redux/ 191 comments reactjs
- React Statement Management example with useReducer() and Context API. https://karntech.medium.com/how-to-manage-state-with-usereducer-and-context-api-3f0ea40a3ac3 4 comments reactjs
- React State Management with Context & Hooks https://youtu.be/-P-awRLtErY 8 comments reactnative
- That React Component Right Under Your Context Provider Should Probably Use `React.memo`: Sophie Alpert on Twitter https://twitter.com/sophiebits/status/1228942768543686656?s=20 16 comments reactjs
- How to Use React Context to Build a Multilingual Website Pt.2 https://blog.alexdevero.com/react-context-multilingual-website-pt2/ 16 comments reactjs
- Function context in bound events in React https://medium.com/@calinleafshade/function-context-in-bound-events-in-react-39e7180d82a7#.3ql74ht1e 2 comments webdev
- React's context feature in practice http://reactkungfu.com/2016/01/react-context-feature-in-practice/ 4 comments reactjs
- That React Component Right Under Your Context Provider Should Probably Use React.memo - video discussion by /u/monosinplata https://www.youtube.com/watch?amp%3Bfeature=youtu.be&v=CDGBTjMBJzg 8 comments reactjs
- Passing data between sibling components in React using Context API and React Hooks https://medium.com/@valentynbilousov/passing-data-between-sibling-components-in-react-using-context-api-and-react-hooks-fce60f12629a 3 comments reactjs
- Let's learn React Hooks and Context API by building a Recipe Search App https://dev.to/mongopark/let-s-learn-react-hooks-and-context-api-by-building-a-recipe-search-app-39pc 9 comments reactjs
- TIL React Context has a secret observedBits feature for performance https://medium.com/@leonardobrunolima/react-tips-context-api-performance-considerations-d964f3ad3087 13 comments reactjs
- React Context API: old and new usage example https://twitter.com/brian_d_vaughn/status/984831421951832064 7 comments reactjs
- Understanding React-Redux's `useSelector` hook - how does it avoid re-rendering on each context change? https://github.com/reduxjs/react-redux/blob/master/src/hooks/useSelector.js 7 comments reactjs
- Best practices around using React Context with Typescript and NextJS: Part one https://youtu.be/gD2hO3wo4pU 2 comments reactjs
- React Context and Re-Renders: React Take the Wheel – Ryan Florence https://medium.com/@ryanflorence/react-context-and-re-renders-react-take-the-wheel-cd1d20663647 4 comments reactjs
- How to use React’s new Context API to easily manage modals https://medium.com/@BogdanSoare/how-to-use-reacts-new-context-api-to-easily-manage-modals-2ae45c7def81 16 comments reactjs
- Meet Eagle Eye: the React Context Based Fast and Simple Observable Context State Manager. https://www.npmjs.com/package/@webkrafters/react-observable-context 3 comments reactjs
- I would love some feedback on my new project: React Capsule 💊, an easy to use and understand global state in under 1 kB with no Context API https://www.npmjs.com/package/react-capsule 5 comments reactjs
- Research has found chimpanzees react faster to cooperate than make selfish choices. In both reward and punishment contexts, the chimpanzees made prosocial choices more rapidly than those benefiting themselves. https://news.umich.edu/chimpanzees-react-faster-to-cooperate-than-make-selfish-choices/ 16 comments science