HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
casesandberg
react-context
JavaScript2015–2015
casesandberg / react-context

react-context

:shipit: Helpful Properties with React Context

2Distinct people
3Mentions
0Explicit recommenders
194GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

:shipit: Helpful Properties with React Context

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour3 dated mentions

Observed mentions: 2015-07-27 17:09:09 UTC to 2015-07-27 18:41:06 UTC.

0122015-07-27 17:00:00 UTC to 2015-07-27 18:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 27, 17:002015-07-27 18:00:00 UTC to 2015-07-27 19:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsJul 27, 18:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jul 27, 17:002015-07-27 17:00:00 UTC2015-07-27 18:00:00 UTC101
Jul 27, 18:002015-07-27 18:00:00 UTC2015-07-27 19:00:00 UTC202

What Hacker News says

3 sources
Sorry to say, it's nothing React-specific. I understand that there is a React Developer Tools addon for Chrome that might be of interest [0]. As for me, I just turned on Javascript CPU profiling in Firefox Developer Tools, scrolled a bit, and checked what JS calls were causing the slowdown. Because the unminified source for the website is available on Github, you can quickly find and examine the functions' code directly [1]. [0]: https://chrome.google.com/webstore/detail/react-developer-to... [1]: https://github.com/casesandberg/react-context/blob/gh-pages/...
In React Context – Helpful Context Like AdBlock and OS
No (edit: kinda). It looks like the site calls setState() on the root React component every time the scroll event is fired. For those not familiar with React, setState() is a function that is used to update mutable state, and it is not a very cheap function, because it propagates the state through all child components, re-renders some virtual DOM, and potentially also causes actual DOM reflowing. Calling this in the scroll handler is what causes the noticeable delay. edit: it seems like the lib itself does also call setState on scroll [0]. I don't think this is the source of the issue on the site itself, which has additional scroll handlers (for the magic non-scrolling sidebar), but it could cause similar performance problems, depending on how many child components are in your Context. [0]: https://github.com/casesandberg/react-context/bl
Read the rest
In React Context – Helpful Context Like AdBlock and OS

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.