Browse Source

Hide package.json where it is not relevant

main
Dan Abramov 2 years ago
parent
commit
0826c798a6
  1. 2
      beta/src/content/learn/escape-hatches.md
  2. 2
      beta/src/content/learn/separating-events-from-effects.md

2
beta/src/content/learn/escape-hatches.md

@ -324,7 +324,7 @@ All code inside Effects is *reactive.* It will run again if some reactive value
<Sandpack>
```json package.json
```json package.json hidden
{
"dependencies": {
"react": "latest",

2
beta/src/content/learn/separating-events-from-effects.md

@ -262,7 +262,7 @@ Play with this example and see if you can spot the problem with this user experi
<Sandpack>
```json package.json
```json package.json hidden
{
"dependencies": {
"react": "latest",

Loading…
Cancel
Save