Browse Source

Highlight createContext()

main
Alex Krolick 7 years ago
parent
commit
7c6688c12c
  1. 1
      examples/context/motivation-solution.js

1
examples/context/motivation-solution.js

@ -1,3 +1,4 @@
// highlight-range{1}
const ColorContext = React.createContext(); const ColorContext = React.createContext();
class Button extends React.Component { class Button extends React.Component {

Loading…
Cancel
Save