UNPKG
@nadeshikon/plugin-nextjs
Version:
latest (4.29.5-4)
4.29.5
4.29.5-4
4.29.5-3
4.29.5-2
4.29.5-1
Run Next.js seamlessly on Netlify
github.com/netlify/next-runtime
netlify/next-runtime
@nadeshikon/plugin-nextjs
/
test
/
e2e
/
app-dir
/
app-external
/
node_modules_bak
/
esm-with-react
/
index.js
7 lines
(4 loc)
•
201 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
React
from
'react'
const
Context
=
React
.
createContext
?
React
.
createContext
(
'hello'
) :
null
export
const
version =
React
.
version
export
const
useValue
= (
) =>
React
.
useContext
(
Context
)