Skip to content

Instantly share code, notes, and snippets.

Tobias Deekens tdeekens

Block or report user

Report or block tdeekens

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View radio-blog-11.js
const RadioContext = React.createContext();
class RadioGroup extends React.Component {
// NOTE:
// That we memoize the value in oder not to trigger wasteful rendering on
// the `RadioContext.Provider` below.
createContextValue = memoize((value, name, onChange) => ({
value,
name,
onChange
View gist:f7061b3c214e5424bec2
### Keybase proof
I hereby claim:
* I am tdeekens on github.
* I am tdeekens (https://keybase.io/tdeekens) on keybase.
* I have a public key whose fingerprint is A3BB 5D77 6134 11AD B201 F14D A671 6D21 535E 2771
To claim this, I am signing this object:
You can’t perform that action at this time.