{"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.turai.work%2Fentry%2F20220904%2F1662258904\" title=\"React\u3067Context-api\u3092\u4f7f\u3046\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 - \u52d5\u304b\u3056\u308b\u3053\u3068\u30d0\u30b0\u306e\u5982\u3057\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/thr3a/","type":"rich","published":"2022-09-04 11:35:04","provider_name":"Hatena Blog","image_url":null,"categories":["react"],"blog_url":"https://blog.turai.work/","blog_title":"\u52d5\u304b\u3056\u308b\u3053\u3068\u30d0\u30b0\u306e\u5982\u3057","author_name":"thr3a","width":"100%","description":"\u74b0\u5883 React v18 \u554f\u984c\u70b9 React\u306b\u306fProps\u6a5f\u80fd\u304c\u3042\u308a\u3001\u305d\u308c\u3092\u4f7f\u3046\u3068\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u9593\u3067\u30c7\u30fc\u30bf\u306e\u3084\u308a\u53d6\u308a\u304c\u51fa\u6765\u308b\u3002 \u304c\u5b6b\u3068\u304b\u307e\u3067\u3084\u308a\u3068\u308a\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u4e00\u6c17\u306b\u9762\u5012\u306b\u306a\u308b import type { NextPage } from 'next'; import { useState } from 'react'; const Home: NextPage = () => { const [user, setUser] = useState('\u9577\u9580\u6709\u5e0c'); return ( <> <h1>{user}</h1> <Component1 user={user} /> </> ); }; \u2026","height":"190","version":"1.0","url":"https://blog.turai.work/entry/20220904/1662258904","title":"React\u3067Context-api\u3092\u4f7f\u3046\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9"}