{"_id":"react-native-web-hooks","_rev":"10-ff3a7fff527d6360e1d9cfc2593ad5ed","name":"react-native-web-hooks","dist-tags":{"latest":"3.0.2"},"versions":{"1.0.0":{"name":"react-native-web-hooks","version":"1.0.0","sideEffects":false,"private":false,"description":"Hooks for React Native web and Expo","author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"homepage":"https://github.com/evanbacon/react-native-web-hooks","license":"MIT","main":"src/index.js","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"scripts":{"jest":"jest"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"directories":{"lib":"src"},"peerDependencies":{"react-native":"*","prop-types":"*","fbjs":"*"},"gitHead":"9b1f7f8e26f08f8fa4b5263fb659e0ab2bce400b","_id":"react-native-web-hooks@1.0.0","_npmVersion":"6.5.0","_nodeVersion":"8.10.0","_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"dist":{"integrity":"sha512-fKJsAX7s0bUA+q8wXKUmSUo62z+E/yRMVqHYA6J7YleTTosN1erKl8Ielao4FE8PgRGMofWVt+I2Buo8hRcL/g==","shasum":"4c6ca0b7f19783f28795b711b3834df06d35d039","tarball":"https://registry.npmjs.org/react-native-web-hooks/-/react-native-web-hooks-1.0.0.tgz","fileCount":18,"unpackedSize":362135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdETgiCRA9TVsSAnZWagAA82AP/23g3nWdCcNYcF/0NUcQ\neQW4MVHxT3dPYpUZsaJbtA5Rjw7TBKOSHJs8XEOlZupqsg1aoofxjtkrLteV\nqr4up8Pft6/0R0KZsHqdhowB3gqn8XHAbQfFsfAyrR66q3FT76lLI33H5pUd\ntzHzS/Mp3lsXuMjJV0cT50q4td1/yXPO5uup4V6LYJqzoeiNxiI+Ffhfdem0\nJN39+HKJTs8o4NVsBItBd4QeaWPTkWsXrbbTF4igEQAA34onmuSDpNHUeO28\ntpgHRycSZwBDWSuEm3M+kAIKEZk8Y+D8pqQIGt/Eok/2aHwkeJN4AEg9+KOJ\nFHs1Eb2nDSDPJWIc4lLmdCGQI+3FPD9Fga5dZCRVlE3HPa2NHjtAZQqPMvQx\n5+SVMLH74lk7SXm/sIFO75FSh4d7wtctzcJu4qNfNL6CnpOI6Uy+xmNskWrt\nzKFhPtp/V/5f8O+6VvtKDaKVpRzYyDlsoo5Poaa59TEX+2Iw5nzdb4fGmIQa\nvIpazsGeR17z7n+PKkwlNeRhsqZc8u3DlRxMvf2RMQV1byORJnSijV1+khbk\nj6/ml+SsWyMrQMkiTVNu52a18M5useEePil+mnjLxWfBqQRRVJPyiUTUghQ5\nbVy6zwMsnguOMSUL+3TrQ+0eqjJ5fa62RUsS6YEVvDPIyZgBUCcGLeEvmSP4\nJVZK\r\n=3drw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8/703NqqoGZTDc4cgH36m5M3wK6LD9CvKBSJbrGFm7gIgHIkPXeQlkGrZQyhrcN+M3h337s4BxecT+hJDFzWQ+74="}]},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-web-hooks_1.0.0_1561409570218_0.6896554407516904"},"_hasShrinkwrap":false},"1.0.1":{"name":"react-native-web-hooks","version":"1.0.1","sideEffects":false,"private":false,"description":"Hooks for React Native web and Expo","author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"homepage":"https://github.com/evanbacon/react-native-web-hooks","license":"MIT","main":"src/index.js","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"scripts":{"jest":"jest"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"directories":{"lib":"src"},"peerDependencies":{"react-native":"*","prop-types":"*","fbjs":"*"},"gitHead":"18f94def8bb2fa33679b150d772833558da599f3","_id":"react-native-web-hooks@1.0.1","_npmVersion":"6.5.0","_nodeVersion":"8.10.0","_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"dist":{"integrity":"sha512-Togb+vyuTlba15uG0v933wrjDlsbMeSECaU73Cb8Lk2yP9t1pyMhhxBq+lKEpiOFdl6Dzt1IbpMhpLvPvOXVgQ==","shasum":"a265311c6949feb0bc7607e43fce92047f59080b","tarball":"https://registry.npmjs.org/react-native-web-hooks/-/react-native-web-hooks-1.0.1.tgz","fileCount":18,"unpackedSize":362526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdETkTCRA9TVsSAnZWagAAFdYP/j1vzkx0oa48NHIIsZ+9\nT8q9ahVY6Px8uvOKWCEgyQlF46HyBmgP7a9VCWmUMuaEMv9Fw4OZhjTASiYd\nMn/SyuzBPP+hQsqZoUWzCQMre2PDp52yrngijpYGQ4fLoF+GnUIJ4BmHnf6P\nAgaq9gZR5XnMTJBydHQ1U8AqdfxpRAVVzfhC9Po7OPb5jDO9UiZPrhKOx9ul\nrBzeJ4cXDb0LhWak7sH7v88Pq7d4TwTxURKnYU//KVd753Mhw6wt9rhOtxra\nOfTE3dbXaTSFpcKViLzmHIfnU3ZtEFAb6/rgTtw6css5MRh1lLz3eHsNl05Z\nCyPQwmmAyCxHfNXmgzZUnZAsmR+vpqMZ3mH5EDJzzHYJyMU5sYiejOZibjOm\nSHsL6lDiHRiQ6rgD+CPpOqKh7HIXfaK+zwSLEbznXpEUuNq0qbk/5nQy6UDF\nxwTp7XL9SGmkgKI3deIO/N93MulM0GbrwF3mvIVQXDqOEkBAxDnFGQQojoj6\n/f1Q97/WsIXWc36Jt35HBpSF5OHBqB3hjDUyoARfy3rqLblX5Lw3uSyGH2pe\nRTfXbHfnVWazqgUtz5XakMrOJfMCdZIEjdko4VPoEP0mlz0KEjLm74QFhe0g\nPRvCO9m8mQSPi53SyIMC94v3V4f9b3bKwdG9xjshVeggGiMP1XMD/qaOqCUG\n13Lo\r\n=/oiR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIzZ2y9QnJNwL5zijznQePuJ+PTz1eWE3lp7hG5HmQwwIgSJbvtMVaiRSH0LPXnvw+r0EFXrDprHBCiGQqtCbM+P8="}]},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-web-hooks_1.0.1_1561409810451_0.24219361108489434"},"_hasShrinkwrap":false},"1.0.2":{"name":"react-native-web-hooks","version":"1.0.2","sideEffects":false,"private":false,"description":"Hooks for React Native web and Expo","author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"homepage":"https://github.com/evanbacon/react-native-web-hooks","license":"MIT","main":"src/index.js","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"scripts":{"jest":"jest"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"directories":{"lib":"src"},"peerDependencies":{"react-native":"*","prop-types":"*","fbjs":"*"},"gitHead":"3b17e119c90b856fcb45b24ea59f69da1dd2cce0","_id":"react-native-web-hooks@1.0.2","_npmVersion":"6.5.0","_nodeVersion":"8.10.0","_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"dist":{"integrity":"sha512-yy0ul/v/6OpwFctHfaIh8tdEOlslRRzS/BiFhYrb+0wk8Zu+z6G+3QHlbL9lVrrv2TuQTLJ6tX977rdcibUipw==","shasum":"8c6b099164040c4f17559e88d4fffaff7b3ed852","tarball":"https://registry.npmjs.org/react-native-web-hooks/-/react-native-web-hooks-1.0.2.tgz","fileCount":18,"unpackedSize":362693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdETqeCRA9TVsSAnZWagAA/mQP/1aMuAUE3jlbHZ2Te33F\ndrDDo4lhl5NfsqPN+nT+g9f9Da2H1xia6xBA5HDxLoW1QMPdDZJWRoFpz7Zl\n2EvKLhZqwxIg9Txf7kpXKB36kyfVJ59Nf+ixT8MRaN0jPWPelRLVoMK4+EJ7\nfd15IVJlnW3Hc+vgOe8OvhiXWaO9orFz8zyoSfwLBdLlIXF/x9lEdGFvjCVw\nSwZ2yGjlWyIJX9s1s/hbR7kv42SLKek3Kqwl/VrGblZb5tOao1ZwFdz55rIk\nc0n3XGZeZTalQPrDzhrkmYTjWZry5jjrv4wTEKClVBSK7DjWvgr/6tiid1Id\n0JfsAClDeN1xbvoEpySChDX6VVVvAcZoEfTXp+afq8s2a2IPonXdelIH63vu\nbMhui6OwAqESL0f9y0EibQ3MB5rhhEfSvYlm4i1KPglSniE8vpIk5eqhUJbU\nBWpaGx2YANBlzSjiM7xaC3aV8rHubm4+MtQiVmK97/KBtdNKQNIH/v1UGnMn\n6y0nuE5vHkePh2lKwvzYtmv77GT1QI1jfMN9qMbu1dWPRqYQcR/bk1CVI0r3\nRD6ybvYCUcxm0aA6aomWjswwIcXqUGCkQDMNRG4mP0auhLwAyEx/uhrIA0UL\nZKMSELT3g/sTOvUYbnmrEbRczieiqkXWVNXzY8rZOhCzP9C8jMl4cgg4BCwj\nrm6B\r\n=ayhz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvhLf7sCPxq6PB56yIJl9qgPiMJShOwGNc3yKX6e8J8gIhANQ4HYyowLp+BxIadmxaqmdaTCZA+uBkw4Eo36A3Geon"}]},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-web-hooks_1.0.2_1561410205935_0.36111307647129465"},"_hasShrinkwrap":false},"1.0.3":{"name":"react-native-web-hooks","version":"1.0.3","sideEffects":false,"private":false,"description":"Hooks for React Native web and Expo","author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"homepage":"https://github.com/evanbacon/react-native-web-hooks","license":"MIT","main":"src/index.js","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"scripts":{"jest":"jest"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"directories":{"lib":"src"},"peerDependencies":{"react-native":"*","prop-types":"*","fbjs":"*"},"gitHead":"0f75d498dd94bbf6ce02866997fa5544c4f72e69","_id":"react-native-web-hooks@1.0.3","_nodeVersion":"10.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-ABJgyjKPD0Uw0qbaOCtK8BPWP1xJ+Qm815K3KtdgaMVN0EfiWyJAQIn011m/Q3PUWPAQ3dFqCEY3hQnknYmVPA==","shasum":"5d9a762c425b93a9166eb62fa8567ac0283e49bb","tarball":"https://registry.npmjs.org/react-native-web-hooks/-/react-native-web-hooks-1.0.3.tgz","fileCount":18,"unpackedSize":14332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/p1cCRA9TVsSAnZWagAAJu0P/ivXRbW5kq+Ffa6iNIRe\nOMVu2SPNV91AfJmlEq/HnpjuWlJKuI5gNaNKOgUk/JjfkZNpdWEh3Jf3MjkC\neIZY+E2PrBWfNEleO2khOL31eBDrIIN75y15gH6Js1zxQnJqqRaFgegJ5iSf\nWl3rWI00m59wMLqn4Ck+cRFRZaAV9xQ78GhMz05bRYLrYpG4fd3e3bMl7W0O\nlEYqxolchuakjf0zejIpRGJpViWUoqEj6sqTcxvsWOkAMTp5fyl1POq9Vfsi\nwUdhPjbkV/uV0OxMVgWLS/GTtPgQdoLkjmpMWmHSw974crsWLMv0VRwcBEch\nNNxRB/I5TGwBCzTKo5yr+ell+KXfCO2RR33+9kGBmWijMgsn36lJvP7PyhN2\nHa3XkG3JtOtQbiiUFzts13CHwvnRgSkkFOHsdyJnkMkSjThv1ADABlYlXxrp\ngtHoNHnd7Md3o+DGtE+5lyTqieAMfeFUMeFwBHvBRznYZpjsX8qQBP8TSOi6\nDUyFRqyeSqK3tG7z+xJ9o0BfG60p/hEVb+hZPUk8ohDvQQT4k/oi/84Omojp\n5qyiLHfR96twqvMIW/Wf96YpM+CGqS4Q5/0r7XHBSFRvANxeAQNFBTEm2zeY\nxQBHKA6SP37YWYqlAO9E707jV5lgo6tir3+KDS8a79HTlMH66h/iHmGOhv3e\nSNIy\r\n=YOL+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0E9KUKCQn/03JO53HZWzN/5jZr4r21yo86m9uxmUbzAiEArq5BN6KdFM6RDaeW40tg2xwA2JB2DZEL5QWgTHbfNRs="}]},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-web-hooks_1.0.3_1576967515531_0.21765237423571748"},"_hasShrinkwrap":false},"2.0.0":{"name":"react-native-web-hooks","version":"2.0.0","sideEffects":false,"private":false,"description":"Hooks for React Native web and Expo","author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"homepage":"https://github.com/evanbacon/react-native-web-hooks","license":"MIT","main":"build/index.js","types":"build/index.d.ts","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"scripts":{"build":"expo-module build","clean":"expo-module clean","test":"expo-module test","prepare":"expo-module prepare","prepublishOnly":"expo-module prepublishOnly","expo-module":"expo-module"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"peerDependencies":{"fbjs":"*","prop-types":"*","react-native":"*"},"devDependencies":{"@types/react":"^16.9.16","@types/react-native":"~0.60.23","expo":"^36.0.0","expo-module-scripts":"^1.1.1","jest-expo":"^36.0.1","react":"^16.9.0","react-dom":"^16.9.0","react-native":"https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz","react-native-web":"^0.11.7","typescript":"~3.6.3"},"gitHead":"c525e7327fc87bc46ebf0f614a08699b2e0ff8a5","_id":"react-native-web-hooks@2.0.0","_nodeVersion":"10.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-lGHKLVZ7lixGXD2pG97obiOVTmJlFi9MFYrvrTaUchSNxmqX059XPO2T8g9R7aT4RRPUPxLfu3sNJVS29mQbbQ==","shasum":"a1675c57b4f948358593695d115d1467ce043427","tarball":"https://registry.npmjs.org/react-native-web-hooks/-/react-native-web-hooks-2.0.0.tgz","fileCount":42,"unpackedSize":40650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeC+zPCRA9TVsSAnZWagAA+lEP/0jsqq5t+33Mhax7NC/J\nWiuMnmbl9kX/aiwJ2QCaDm4O1CKsc8ZsUmGtSkkKf8lIRMskywjgAab+qzBb\n5Hg/3UjJ2afBJ64NJQ3dWh2sR2a6unKqw36Py8qL7Wgyd1egkE+XMMkJy1ZE\n4DTMHmWlazq/sueEzbGHGe3cgqNnjIw/adG8FFxoQQaWrGsYn0St2SGvLFzS\n/AkXOKKqs6s6lowgPG3J3PlyPYVKkI/3h/OLEs+hiF9I+I2Oyh1La4CgtfHY\nbH2LKBtGAkx1PhT1HWOksPFW2W0Kvfsyx657lw0582zDzm7Cs4xxq6eW6lmt\nPwRrGYBf2hcll6AEcsmrRVcNEvzT37SFBI3T7Z9GaJrkZo+LGYjYQode8swp\nwsoFbokJx8BWzBP7n+YQA82N3meoxFDdgu56Q5zNBEXgu/Vie8kqGP76D7NC\n50O5CC/Gr1tRzObsFWyanLos+WsCQjhHqEVmu7GGOuivx7/b0bEn22TUxeC7\n5msgUYszd+JOFlnGSTr/vkGO1iTpqkIP182tx6MpnjeuiNYrSG+2NZzLa7RL\nGB9QSg8+k7kNGk9iEK+C1Vqvh0YwWVooG/baPVhq1uQV4xiHRYglKtMxskfM\nijgzfT4LjuCabDJpKf3RoGOHd+dDDVvv2gXkhkjzjbl68/AIKPc1J+KIEt1t\nkwKf\r\n=qkwk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnyShHccLIfSHwctnLJRM9ZZccCATmf8ABWNlgHhFbmgIgHyO9rCmY0TSt9bqc4G0NjQDenCB2ODpuaP4sG1CRfnk="}]},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-web-hooks_2.0.0_1577839823283_0.23041822118645583"},"_hasShrinkwrap":false},"2.0.1":{"name":"react-native-web-hooks","version":"2.0.1","sideEffects":false,"private":false,"description":"Hooks for React Native web and Expo","author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"homepage":"https://github.com/evanbacon/react-native-web-hooks","license":"MIT","main":"build/index.js","types":"build/index.d.ts","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"scripts":{"build":"expo-module build","clean":"expo-module clean","test":"expo-module test","prepare":"expo-module prepare","prepublishOnly":"expo-module prepublishOnly","expo-module":"expo-module"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"peerDependencies":{"fbjs":"*","prop-types":"*","react-native":"*"},"devDependencies":{"@types/react":"^16.9.16","@types/react-native":"~0.60.23","expo":"^36.0.0","expo-module-scripts":"^1.1.1","jest-expo":"^36.0.1","react":"^16.9.0","react-dom":"^16.9.0","react-native":"https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz","react-native-web":"^0.11.7","typescript":"~3.6.3"},"gitHead":"a904f7a143b805d39a9bf49aa252b1d042b7f968","_id":"react-native-web-hooks@2.0.1","_nodeVersion":"10.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-K11hmZ+BP2+yFChI8E3GEtqx7LADb38Kv5Qk0o7iQPyAf3IZ4mXHZdTrcssbdbIzpKlX1Co0MeyDxPphn+7ZQw==","shasum":"ae6d03f9a45279bd18236139d4fb94c1aa5355dd","tarball":"https://registry.npmjs.org/react-native-web-hooks/-/react-native-web-hooks-2.0.1.tgz","fileCount":45,"unpackedSize":43414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeC/IECRA9TVsSAnZWagAAkVwP/jbQhywIQd7DVzVEfrJy\nwl4KVrXV/hMxKxDlyW/rLghQAsU8cNXQCC4IYYtXCm5tyX6paDv9gsqEPpz9\ncfuqDuxvQ/zXxKAEax8HeTHdAVp+TBo1m/Y8bp3JD/rf9bTrM6bUE37heP5i\nP1JqgBKrnBndm8dPNxeV5ftdHN6R6ti16ib+8pciuucFfqqXnktZBTArBO5+\nsVcdUDHBk4G25gQ8oFi9qntyalbGEQJ8DB6WISsEI+dq49vbpT+klsC+poJ9\nMeH/V4aKsi1P0yYs/FZSosQzuUAx17c198JfsZ/LuFORFmrVecPtlIPZvF8b\nWhqwi4GQwXgo4RO39p5eE1ygQeqQJqwGlHrLNNWA5yuNt4EC0fX1tS8ijGBx\n/gt5AyEavahXCerLLlrDI7+Tvd4Cpnk2YbvH7UFOrnI51hnlxt++Qgi2Md6h\nn/eUcM7A9zHFHwkyUxVQptmv2hn3Lv6xy2cB3RysLmwgFtWTJWbLsRD0fl8P\ntUZqUtxCGezc1iQs0P3LH++0rf3l2Hj9hJyDSOnIEvo5boSzievW5dSfkvs/\nIeckuxjouqH/UnN2qYNZ47+RdxBu1J4qk49XoOCn6VhDr8y1I1wyZynDkaQl\nqEcy2qyL/kU4+ItskRj7/6uFHvmkt/lQ1vgmyMuiekGAOkmdTcE4daLbhOOV\n4uS8\r\n=dszT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIESLYPJNTi+i6tAQt4J2Jcrt5IN9sVbzzqyq3rbE/msUAiBdus6exhk/PSQoHa5xYCb7Oenpz7w8hu6BWbUtqT+vJQ=="}]},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-web-hooks_2.0.1_1577841155618_0.21026900502668933"},"_hasShrinkwrap":false},"2.0.2":{"name":"react-native-web-hooks","version":"2.0.2","sideEffects":false,"private":false,"description":"Hooks for React Native web and Expo","author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"homepage":"https://github.com/evanbacon/react-native-web-hooks","license":"MIT","main":"build/index.js","types":"build/index.d.ts","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"scripts":{"build":"expo-module build","clean":"expo-module clean","test":"expo-module test","prepare":"expo-module prepare","prepublishOnly":"expo-module prepublishOnly","expo-module":"expo-module"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"peerDependencies":{"fbjs":"*","prop-types":"*","react-native":"*"},"devDependencies":{"@types/react":"^16.9.16","@types/react-native":"~0.60.23","expo":"^36.0.0","expo-module-scripts":"^1.1.1","jest-expo":"^36.0.1","react":"^16.9.0","react-dom":"^16.9.0","react-native":"https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz","react-native-web":"^0.11.7","typescript":"~3.6.3"},"gitHead":"36316d47490374db66530e24a71e85ce4a262990","_id":"react-native-web-hooks@2.0.2","_nodeVersion":"10.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-p2zyw7bT+N9av+l4N5mg7gBijrfEXiPGK6nx7c983/DyVCAUbdI/bM/YW4ht7VYXhu/qnn5hg7T1w/tnfLUREA==","shasum":"818bb2f799c01ab68f50f1a094381c5b21ab621c","tarball":"https://registry.npmjs.org/react-native-web-hooks/-/react-native-web-hooks-2.0.2.tgz","fileCount":45,"unpackedSize":43434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFQwMCRA9TVsSAnZWagAAqDoP/3T/AtD+XHqo8YEfTIJL\nKHPC5xIg+KIYFZU1BjOFU8+wTA1xRrTGac7Di9PbeRu3hrYhpiVK4lB+S7VS\nLhHiAl5TiTqpX7JZoxV12jM5LyO8nxij8NLxezKtB5+xw8GDXS+hXUdJZWtV\nh2SjQOM523eF1xvPUhfr5cKFFqq5q5iLdoeBLPmD4fi/fYXOUnXctzmZTC+M\ncOK0c0b4QEPBiA0hSYEdq1BcAUpdP+YmNdeDcciKotdBpKtyIXjGfWmQptMn\natJSyyugoxCbcf15H0x7QhpRZjEeZr4+rwR8rbCwRH8eJohESKeqxYAllScI\nHzF28WjZeEsYALE2w3W6tSXTLZYAOBNxZSB/tN/eaXArjFV5igMI95FotXIt\nFmXU8lTD65lMGDbSdymPKWcoJWa9M2VkjevJYj0TDOJvdtCe+DbsUcRgAm9a\n2NaW1QA8GOdktSFJh/d9sK5yORZ3e67LVWi7yjn+v8gyVuKHVrsPCMEubyYb\nXQxt/IRN3L9Iuj8wvsFdS/3z8FVr9geCZGmi2uCdTMAZi9VszRBgm9y9VjxT\nQ72mCupXvTktGRVwN1Ruee0H4SpNXcw67j9395ZVGEvG1Qz32XPEKV9qzp40\nS0eBSqC/XXxxSIM0+pB3SrztiFHFj3caPhHoOKAcBApBFN1awufvM/Y0qVeo\nyh+u\r\n=oObd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEI4zCHr/Z8+tnpelBtdGqzmpF81fX9IJHZJiTq+1VLBAiEAr2Z5HjD1qaKRdQhDIqT2Tk/42mUDwe0aGqgUlxBFoLQ="}]},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-web-hooks_2.0.2_1578437643353_0.7701776366083763"},"_hasShrinkwrap":false},"3.0.0":{"name":"react-native-web-hooks","version":"3.0.0","sideEffects":false,"private":false,"description":"Hooks for React Native web and Expo","author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"homepage":"https://github.com/evanbacon/react-native-web-hooks","license":"MIT","main":"build/index.js","types":"build/index.d.ts","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"scripts":{"build":"expo-module build","clean":"expo-module clean","test":"expo-module test","prepare":"expo-module prepare","prepublishOnly":"expo-module prepublishOnly","expo-module":"expo-module"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"peerDependencies":{"fbjs":"*","prop-types":"*","react-native":"*"},"devDependencies":{"@types/react":"^16.9.16","@types/react-native":"~0.60.23","expo":"^36.0.0","expo-module-scripts":"^1.1.1","jest-expo":"^36.0.1","react":"^16.9.0","react-dom":"^16.9.0","react-native":"https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz","react-native-web":"^0.11.7","typescript":"~3.6.3"},"licenseText":"MIT License\n\nCopyright (c) 2019-present, 650 Industries, Inc. All rights reserved.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"react-native-web-hooks@3.0.0","dist":{"shasum":"48147156175760d5a14e32a6d5f02aadf5a94cb7","integrity":"sha512-pXOxmtxp194cKiysi2l8gi8+ga3B7WMmyvPEsEo2oe726YzzROnPZ2j1lZ9WnZxa7UDXSv88i6WTzoM03cLFag==","tarball":"https://registry.npmjs.org/react-native-web-hooks/-/react-native-web-hooks-3.0.0.tgz","fileCount":48,"unpackedSize":38952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeH7GMCRA9TVsSAnZWagAA9DMP/ibi3FRGfvxUtVLA4ZQt\n/zhK+iOxNVG7Jx3G/Wf8a/MUQa8bMdnTGy/Xhuq8a4HAZd/fUp60bgdrKofZ\nOB7uO5bruc0dF7EAx/nsxjtVc3mu+/19RcRpDwx8Qig4o+9EjEE8hM4FVTRJ\n47xZ4kqW4YQjZQ4hpc57l3Tt37al615X3WAh+8De5yytDgZycBm2a9NJi13N\nQKzXisoK6UvSFBKxZqtSFqsOmtDwlkrgUC+p+u4otsL1i0pDfEfKWoBugXMd\nSwXL9lSQtCCGCmU8uAiqZJcQ2Q/Fn0M8G3KiE8amXSqRum4C7bMjXi95ZFi7\n0vBPwcBLCTigMaLG2GuAj/CBxIaqsEARnYW7q4iSIbDPeGDNGYTIiMYX3fhE\nzTb7TGBMaapYAoiCQcS/Dg9m1/k60LXk+XvDgB6wxbDbCsmM70YGYAvyycrN\nMGeJz/u8qP/pnkyYL5D90F/N7gBV0bdqkJVKbNiLpnEQyojDHN8RPyalZlMq\nB4UkYvFZ65U+6V4cAQjDT7BGJzeM6g0+oj4bXqvc+aCQiVN0Gzl869B1WD4k\n7UuJ7bIlvb1Gn9RU8X2QQd9mn68Zil/9qIzEy1HXxfAosqzHeARJ1gnbtDcn\nlCnVIKUqWXmjipXPcKLIaBx1xxw12875mC7Jj1Pna8xrFVMxYrwVry7xTL/L\niFmR\r\n=eUEu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXma1xE5I8AJG8lb6HqnEn4/euphJ4L5zHFSOLEW4naQIgLuhC87pmrow5HLuZkHHIofdTGFDWyCYx+qHLBp8Bw+c="}]},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-web-hooks_3.0.0_1579135372187_0.6154332848538313"},"_hasShrinkwrap":false},"3.0.1":{"name":"react-native-web-hooks","version":"3.0.1","sideEffects":false,"private":false,"description":"Hooks for React Native web and Expo","author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"homepage":"https://github.com/evanbacon/react-native-web-hooks","license":"MIT","main":"build/index.js","types":"build/index.d.ts","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"scripts":{"build":"expo-module build","clean":"expo-module clean","test":"expo-module test","prepare":"expo-module prepare","prepublishOnly":"expo-module prepublishOnly","expo-module":"expo-module"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"peerDependencies":{"fbjs":"*","prop-types":"*","react-native":"*"},"devDependencies":{"@types/react":"^16.9.16","@types/react-native":"~0.60.23","expo":"^36.0.0","expo-module-scripts":"^1.1.1","jest-expo":"^36.0.1","react":"^16.9.0","react-dom":"^16.9.0","react-native":"https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz","react-native-web":"^0.11.7","typescript":"~3.6.3"},"licenseText":"MIT License\n\nCopyright (c) 2019-present, 650 Industries, Inc. All rights reserved.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"react-native-web-hooks@3.0.1","dist":{"shasum":"d680c7638a51b573f1a3f756ba59589fcefde06f","integrity":"sha512-k1GLtdFo7OA6DBVu0ydbLwq7Ds32oz1dJJkeeYRuxqcs5K8PQFIYxRyEpiW36Fcol+NffeziT2ITkbdIXI0etA==","tarball":"https://registry.npmjs.org/react-native-web-hooks/-/react-native-web-hooks-3.0.1.tgz","fileCount":48,"unpackedSize":39002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeH7M9CRA9TVsSAnZWagAAhUYP/2BYj8iarBSHhtCfryEO\nE9sI4oyLllSIBQGfER+1VihWU8fwUi6mOwlakmfQNIakeKgyjh/zJ2+oOA6k\nWs32EKtPE+z5WtsN95QMRALTk0DH/QVS2pC5l4xHsQPjOOIh02aBJ6ZgW4jW\neHj4ZMaMZgX15QJXZVxEJGeZuhe4Qc4V3EZXexlAxPmckQZFVQym8sDdXXFe\nOTvrmemb3QeKrL4oR7ErKOd78svOucq9ghNBRItRmkANGzC/CXIcvGw2dhyt\nyMyScaOgdVgvbcPxf8RUq1eLsEhMCHP+eNqqdcKxEHUtGiD6QmffRkonslzJ\nK43Zta4UAeyYcqWHLHkzw9awQRPYshnEoCWCls0aXT5zJqXGevutFJUCp90c\nWJS0yYyxGRkHLp4Gro5HVJLKllnpCy/AUAXT5rwzSfw8tmAMiarf1AGA8ckd\nRwNFiBWTJ4bjRk3JU+pOvxjVbANbd5xbnfMf3VS0Q95LG2bcq8KFmi9LwBvy\naF1TkaTZEchRruBrHVTlLAwsfbE3HafZG6X1RslYWRBfsbVAv1ZYx9rWtX9d\nw7Nlct4TkPrn7TcpAwVzkWK9N7en9nd/MEX7ffWuO14HbpNJS4ACfHCO3HIv\nApxA+OIL0tynATS6KNPtkHbA7EmKAJITi4Fy4K/vMiJfyBQosPDLL7RAVICZ\nu0q+\r\n=6UWV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDb0pCTZUIlro5QgX0UARA7TttK/5fIEdeuMkUwok7JVwIgFIEPIpO9RaybzxNl4+q/LbmVTNGSArEvNFfTcZfctDg="}]},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-web-hooks_3.0.1_1579135804874_0.5046703157760346"},"_hasShrinkwrap":false},"3.0.2":{"name":"react-native-web-hooks","version":"3.0.2","sideEffects":false,"private":false,"description":"Hooks for React Native web and Expo","author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"homepage":"https://github.com/evanbacon/react-native-web-hooks","license":"MIT","main":"build/index.js","types":"build/index.d.ts","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"scripts":{"build":"expo-module build","clean":"expo-module clean","test":"expo-module test","prepare":"expo-module prepare","prepublishOnly":"expo-module prepublishOnly","expo-module":"expo-module"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"peerDependencies":{"fbjs":"*","prop-types":"*","react-native":"*"},"devDependencies":{"@types/react":"^16.9.16","@types/react-native":"~0.60.23","expo":"^36.0.0","expo-module-scripts":"^1.1.1","jest-expo":"^36.0.1","react":"^16.9.0","react-dom":"^16.9.0","react-native":"https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz","react-native-web":"^0.11.7","typescript":"~3.6.3"},"gitHead":"6623f78332e832027bd5a8d2174590f72ce0e92b","_id":"react-native-web-hooks@3.0.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-nMu6417kaKKIemotATFXQW33zqRR4KsScwLMlEeIAzhOJQBXVzf22u6QTWk8xhxxa8ibZHymcFT86YAgDP5xFA==","shasum":"a3557bc80ef30d240fbaaf22085d00751550e1cc","tarball":"https://registry.npmjs.org/react-native-web-hooks/-/react-native-web-hooks-3.0.2.tgz","fileCount":45,"unpackedSize":39340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJht7mjCRA9TVsSAnZWagAAoWsP/2Mwxptpwr9sE5XFUNrQ\nKPo94mlmgUSmGIz+26kACqi8rmoQqPiNdP8PBIsCvBI2IHTaI3pDdlsM1fC0\nGwpXa//KLIv4TjzKn+1ZrGt6Wy2tF2flN0p590Qa5JtlkU0QJORoXTNCUwgG\nNTWwJVqd7nP61Qw8wfnvneFYgXEQGEzCUJOn6DJ1sMCT34omyLKTInVMDD13\nYDyo1gyQEVRi+cs9KTpyc9cGcY9GMZ59bOhhKN7wVAwFh6av7DE/mBdPim85\nAcbrBWaS3tcpDXTAhr+vZVGMmxRS2ZQR/wtioy5e/IXmQexp39/4vNuz37L5\nPGz7VBNBNLifm6xL1jhDny7ZFikbPExf2paQX7gci8GPW5dlX3VB+kOs6FPK\nUE1S8BBvQY5X63+Eeg3/5khrUaTQuIpkJmX3u8PYPIhSaMOR28OtxPBPTVYg\nfCjbwcsbzsEM1pJv7xbcz9VElnECafQlO+Ycm76uYhwl6ly0sGE2/25KAei6\nc57raPpwZLLlqiSlJbG+LEX0MAaI4y0CQcl/JaPDQUHPjYrPxNUtb5Q8NImx\nZ9rBIYJjgV3zvPSEAhTCNUEKTeNwJYFAMKqnHtfMmJo9awjMaIVUMMw03DF+\nPOp/SKyueNEQ9qFB0uMStvbj6Re7AflWkQREbW6apeVyHaPV9ybwyZTt3urU\ntor3\r\n=QTMZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHyaXaI10Bxg8hP5KLE9kyvFRikGjfyKc7MaStu9AFBmAiEA1gbjprDrO/LPE7W7bA/NEPzJUT+0sol171zraewrahY="}]},"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"directories":{},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-web-hooks_3.0.2_1639430563521_0.23604861980865754"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-24T20:52:50.218Z","1.0.0":"2019-06-24T20:52:50.501Z","modified":"2022-05-14T23:59:53.558Z","1.0.1":"2019-06-24T20:56:50.594Z","1.0.2":"2019-06-24T21:03:26.059Z","1.0.3":"2019-12-21T22:31:55.645Z","2.0.0":"2020-01-01T00:50:23.449Z","2.0.1":"2020-01-01T01:12:35.764Z","2.0.2":"2020-01-07T22:54:03.612Z","3.0.0":"2020-01-16T00:42:52.464Z","3.0.1":"2020-01-16T00:50:05.013Z","3.0.2":"2021-12-13T21:22:43.724Z"},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"description":"Hooks for React Native web and Expo","homepage":"https://github.com/evanbacon/react-native-web-hooks","keywords":["expo","react-native-web","utils","react-native","css-in-js","react","hooks","ssr"],"repository":{"type":"git","url":"git+https://github.com/evanbacon/react-native-web-hooks.git"},"author":{"name":"Evan Bacon","email":"bacon@expo.io","url":"https://expo.io/"},"bugs":{"url":"https://github.com/evanbacon/react-native-web-hooks/issues"},"license":"MIT","readme":"# react-native-web-hooks\n\nHooks for implementing complex functionality in React Native for web and Expo.\n\nA closer look at [how the hooks work here](https://gist.github.com/EvanBacon/8739dc52a4dbb72e869f19b1e5cdda6c).\n\n## Installation\n\n```bash\nyarn add react-native-web-hooks\n\nor\n\nnpm install --save react-native-web-hooks\n```\n\n### Usage - Hooks\n\nImport the library into your JavaScript file:\n\n```js\nimport {\n  useDimensions,\n  useActive,\n  useFocus,\n  useHover,\n  useREM,\n  useScaledSize,\n} from 'react-native-web-hooks';\n```\n\n#### Get REM size\n\nUse these in place of rem font sizes like: `font-size: 1.3rem`.\n\n> Note: this isn't a hook anymore and will be moved out in the future.\n\n```jsx\nconst fontSize = useREM(1.3);\n\nreturn <Text style={{ fontSize }} />;\n```\n\n#### Get scaled font size\n\nThese change based on the width of the screen.\n\n```jsx\nconst fontSize = useScaledSize(1.5);\n\nreturn <Text style={{ fontSize }} />;\n```\n\n#### Get dimensions\n\nNote that `fontScale` is hard-coded to `1` on the `react-native-web` side and shouldn't be used to calculate dynamic font sizes.\n\n```jsx\nconst {\n  window: { width, height, fontScale, scale },\n  screen,\n} = useDimensions();\n```\n\n#### Measure a view\n\nIt's best to style a view based on that own view's size and not the window size. To make this easier you can use the `useLayout` hook!\n\n> 🚨 Using `onLayout` may require you to install `resize-observer-polyfill`. Learn more in [the official Expo docs](https://docs.expo.io/versions/latest/guides/customizing-webpack/#resizeobserver)\n\n```jsx\nconst {\n  onLayout,\n  width,\n  height,\n  x,\n  y\n} = useLayout();\n\nreturn <View onLayout={onLayout} />\n```\n\n#### Create pseudo class styles\n\nThese will be replaced by **React Flare** when it's released.\n\n```jsx\nimport { useRef } from 'react';\nimport { StyleSheet, Linking, Text, Platform } from 'react-native';\n\nimport { useHover, useFocus, useActive } from 'react-native-web-hooks';\n\nfunction Link({ children, href = '#' }) {\n  const ref = useRef(null);\n\n  const isHovered = useHover(ref);\n  const isFocused = useFocus(ref);\n  const isActive = useActive(ref);\n\n  return (\n    <Text\n      accessibilityRole=\"link\"\n      href={href}\n      draggable={false}\n      onPress={() => Linking.openURL(href)}\n      tabIndex={0}\n      ref={ref}\n      style={[\n        styles.text,\n        isHovered && styles.hover,\n        isFocused && styles.focused,\n        isActive && styles.active,\n      ]}>\n      {children}\n    </Text>\n  );\n}\n\nconst styles = StyleSheet.create({\n  text: {\n    ...Platform.select({\n      web: {\n        cursor: 'pointer',\n        outlineStyle: 'none',\n        borderBottomWidth: 1,\n        borderBottomColor: 'transparent',\n        transitionDuration: '200ms',\n      },\n      default: {},\n    }),\n  },\n  active: {\n    color: 'blue',\n    borderBottomColor: 'blue',\n    opacity: 1.0,\n  },\n  hover: {\n    opacity: 0.6,\n  },\n  focused: {\n    borderBottomColor: 'black',\n  },\n});\n```\n\n### Usage - Render Props\n\nImport the library into your JavaScript file:\n\n```js\nimport { Hoverable, Resizable } from 'react-native-web-hooks';\n```\n\nYou can wrap a function or a component.\n\n```tsx\nimport React, { Component } from 'react';\nimport { Text, TouchableOpacity, View } from 'react-native';\nimport { Hoverable } from 'react-native-web-hooks';\n\nconst createLogger = (...msg) => () => {\n  console.log(...msg);\n};\n\nclass App extends Component {\n  render() {\n    return (\n      <View>\n        <Hoverable onHoverIn={createLogger('start hover')} onHoverOut={createLogger('end hover')}>\n          {isHovered => (\n            <TouchableOpacity accessible style={{ backgroundColor: isHovered ? '#333' : '#fff' }}>\n              <Text>Welcome to React</Text>}\n            </TouchableOpacity>\n          )}\n        </Hoverable>\n      </View>\n    );\n  }\n}\n```\n\nObserve window resize events.\n\n```tsx\nreturn (\n  <Resizable>\n    {layout => <View style={{ width: layout.width / 2, height: layout.width / 2 }} />}\n  </Resizable>\n);\n```\n","readmeFilename":"README.md"}