{"_id":"@bam.tech/react-navigation-live-reload-on-screen","_rev":"33-6b9512891cfe9abfdaba76e947c58eab","name":"@bam.tech/react-navigation-live-reload-on-screen","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@bam.tech/react-navigation-live-reload-on-screen","version":"0.1.0","keywords":["react-navigation","react-native"],"author":{"name":"Almouro"},"license":"MIT","_id":"@bam.tech/react-navigation-live-reload-on-screen@0.1.0","maintainers":[{"name":"almouro","email":"alexandrem@bamlab.fr"},{"name":"tychota","email":"tychot@bam.tech"},{"name":"yannl","email":"yleflour@gmail.com"},{"name":"maximes","email":"maxime.sraiki@gmail.com"},{"name":"tpucci","email":"thom0689@gmail.com"},{"name":"antoined","email":"antoined@bam.tech"},{"name":"pierrecapo","email":"capo.pierre@gmail.com"},{"name":"clementtab","email":"clement-taboulot@hotmail.fr"},{"name":"julienc6","email":"julienc@bam.tech"},{"name":"marionvalentin","email":"marionnousvalentin@gmail.com"},{"name":"arlevoy","email":"arthurl@bam.tech"},{"name":"minishlink","email":"lagrange.louis@gmail.com"},{"name":"ajubin","email":"antoine.jubin@gmail.com"}],"homepage":"https://github.com/bamlab/react-navigation-live-reload-on-screen#readme","bugs":{"url":"https://github.com/bamlab/react-navigation-live-reload-on-screen/issues"},"dist":{"shasum":"d72627699a9ddc581ad00effc32146390dc5b7b7","tarball":"https://registry.npmjs.org/@bam.tech/react-navigation-live-reload-on-screen/-/react-navigation-live-reload-on-screen-0.1.0.tgz","fileCount":3,"integrity":"sha512-tamczv5aHbfsBWRgd5HIMfYT5lj2ZwO0yEBo3+s0spojCcwhTiHgPgcb1uN+IudRxgE/KhJ/UV/0YdparnIHFA==","signatures":[{"sig":"MEUCIQDkQv7ZcDi+dwp85Mm/TINmhwvDgakFUfgm7gGcYxL94QIgZGLBaCzJL8hcTZn8g4V1L3ePIgZF6hUTB4gwoF1eLYk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhC+5hCRA9TVsSAnZWagAAf+oP/Risx2uLEcplsSJfhP58\nkf9oah3Jp1YWLo7lmq3DmHm/PRQFNq5Axu7oooY1TL0VrJ5hP6wzZnW68ey/\nM4mnQFJZ3Z1eLpT9vENveHK0LHNQtGFTyAjF8OM5MY5r0TAR1NpJiYHE2BA+\nILJgW/pn8IaIJKkOF41rUNNYwb4nO4OeV+MzPBb3sPserkst4ctTasqQM64Y\nJBRuoMw4KSDdQNBMsNkNM/lEiJO+GLEyUwiS4cvNrKAA+Md6KGqG72mV7cFc\nQpAfXxRkgMRExHzuUA6p0e33qOI2TMzd1x35IPBXru8aJmusRjJWqY/68CjN\nFwrUmRccZPoxqqEDPA/pAID4oeLGz/cIuwUSzzQ1IPJUG85wFy5p9ddjRwK4\nfWPPv0BHdcbuQ1KoLeYfLmRNKDaGWzjljMzsHdI/AJ1yIWui9PwtdZfQm/hC\n/kwty8retfeRYxhVBeTxEx6Yq0hpLfs7vYl5W9FvccFyEW6TS1W1z88eGad9\nA9J4+WVGnwirwK7LOvSCv39jZPP5YrPe4ZyX5PW9zlJjGAKCkX5XgG3gcW02\nZWaDAbvdF5hvz8U7Q4i40Wod0B21jNM87XcZISf4qsvXYiMuvmCDcb3CTB5U\njOW+Q2RG6xHs0FLGe3J6Di4uu9UCJsHoX/MlIfIuaWPOpN1itfQnc09W/Vpx\nRDuX\r\n=x2uR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.tsx","gitHead":"4ec94518dfa248e795a363fc09be4cdc2da2c848","scripts":{},"_npmUser":{"name":"almouro","email":"alexandrem@bamlab.fr"},"repository":{"url":"git+https://github.com/bamlab/react-navigation-live-reload-on-screen.git","type":"git"},"_npmVersion":"6.14.8","description":"Make live reload to stay on current screen with react-navigation","directories":{},"_nodeVersion":"14.13.0","_hasShrinkwrap":false,"peerDependencies":{"react":"*","react-native":"*","@react-navigation/native":"*","@react-native-community/async-storage":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-navigation-live-reload-on-screen_0.1.0_1628171873185_0.5409772187373725","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@bam.tech/react-navigation-live-reload-on-screen","version":"0.2.0","keywords":["react-navigation","react-native"],"author":{"name":"Almouro"},"license":"MIT","_id":"@bam.tech/react-navigation-live-reload-on-screen@0.2.0","maintainers":[{"name":"almouro","email":"alexandrem@bamlab.fr"},{"name":"tychota","email":"tychot@bam.tech"},{"name":"yannl","email":"yleflour@gmail.com"},{"name":"maximes","email":"maxime.sraiki@gmail.com"},{"name":"tpucci","email":"thom0689@gmail.com"},{"name":"antoined","email":"antoined@bam.tech"},{"name":"pierrecapo","email":"capo.pierre@gmail.com"},{"name":"clementtab","email":"clement-taboulot@hotmail.fr"},{"name":"julienc6","email":"julienc@bam.tech"},{"name":"marionvalentin","email":"marionnousvalentin@gmail.com"},{"name":"arlevoy","email":"arthurl@bam.tech"},{"name":"minishlink","email":"lagrange.louis@gmail.com"},{"name":"ajubin","email":"antoine.jubin@gmail.com"}],"homepage":"https://github.com/bamlab/react-navigation-live-reload-on-screen#readme","bugs":{"url":"https://github.com/bamlab/react-navigation-live-reload-on-screen/issues"},"dist":{"shasum":"9aa4aad891d24e96aba084774b7794c658916b19","tarball":"https://registry.npmjs.org/@bam.tech/react-navigation-live-reload-on-screen/-/react-navigation-live-reload-on-screen-0.2.0.tgz","fileCount":3,"integrity":"sha512-2tOzWw6mTwQ9FFjrDwgDX67bRwtD3uaYBUBn7AnuWU3NS+Kpak3HWr3cAFcWroCI4hnbQFIibKMHyvtYJMYzXg==","signatures":[{"sig":"MEQCIF+/fSS0ZNbHgH4FdSkq4a5+s8E3qpAclGov+H7tp0+XAiAinNJn/BYy+OHUovGcJerFkatORnC6D2B7wXe9FUdiRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhETudCRA9TVsSAnZWagAAbq4P/0nSedDzqrHhfaQKasWE\nvNK9hvHzYtLt+zKL2nkaYQaBBP0cFcQ0UWmVFmkFMjgYxta6iyCbrdVZggLY\nY/B77j1fUVZIM5vImaTr6oeh+iajeS6TcFEaqLmTEXHS/saOaN862R/3Yc7B\n58FVjd7WQnjlNtwsDLiBPKbABkGlc+H8tVOitXxb+8dEubTx+PqluytiGxz0\nsFovP8CZnu8ocZXd5i6FYx+fhIp4cDl1AqqAvC6EcFntXWL/NUOkME+3yDlh\nUg5gqgGLaKsTfMRX9tJgfaZRrRbAsIM2ZyU3LeItkQvjUoRECQPeD3Tdog00\nUOOXE+zxGm+mW/gXcnRKDbOI1yea35JVsssoyC02XkexRmOlHzSJ2PMoMxHV\n7MMx1Hp4LFhWbcjL5E1yoeyn7Z6h7oEHxmFCEr2nsHfSaXnmG5rHTiEspXzd\nHW9vuWTwxAIqCmsjK5CB7GaQu4NJbQuPku2Vd1YR25SOqswJ4bpx6ZF1jQsu\n7YqKmmvO55fZLVXrYfoxXQCcSa/qpnkIow4yt6Smn65PRKo97r05XTODT+ae\nMeY2BiwiiXcKy+a49xXPNHAT634N0GyXokkwd4NJK+aCgwvRC76ELC3OTKnE\nqWCMm1Amzza8uWEzZdS6mkx9NQ8wt1m5vwfgh+bVOFcAoOnUF6/zZkO687of\nXldI\r\n=9Vbo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.tsx","gitHead":"3b97e3fa8272f3d4bcf4646736112bcf7e122c84","scripts":{},"_npmUser":{"name":"almouro","email":"alexandrem@bamlab.fr"},"repository":{"url":"git+https://github.com/bamlab/react-navigation-live-reload-on-screen.git","type":"git"},"_npmVersion":"7.20.3","description":"Make live reload to stay on current screen with react-navigation","directories":{},"_nodeVersion":"16.6.1","_hasShrinkwrap":false,"peerDependencies":{"react":"*","react-native":"*","@react-navigation/native":"*","@react-native-community/async-storage":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-navigation-live-reload-on-screen_0.2.0_1628519325252_0.36928109746833515","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@bam.tech/react-navigation-live-reload-on-screen","version":"0.3.0","keywords":["react-navigation","react-native"],"author":{"name":"Almouro"},"license":"MIT","_id":"@bam.tech/react-navigation-live-reload-on-screen@0.3.0","maintainers":[{"name":"almouro","email":"alexandrem@bamlab.fr"},{"name":"tychota","email":"tychot@bam.tech"},{"name":"minishlink","email":"lagrange.louis@gmail.com"},{"name":"marekkalnik","email":"marekk@bamlab.fr"},{"name":"laurence923","email":"yangl@bam.tech"},{"name":"clementtab","email":"clement-taboulot@hotmail.fr"},{"name":"cyrilbo","email":"cyrilb@bam.tech"},{"name":"charlotteisambertbam","email":"charlottei@bam.tech"},{"name":"remilry","email":"remil@bam.tech"},{"name":"matthieugbam","email":"matthieug@bam.tech"},{"name":"p0labrd","email":"paulb@bam.tech"},{"name":"alexisd","email":"alexisd@bam.tech"},{"name":"evej","email":"evej@bam.tech"},{"name":"matthieug","email":"matthieug@hey.com"},{"name":"thomasre","email":"thomasre@bam.tech"},{"name":"vicprz","email":"npm@victor.pm"},{"name":"robingullo","email":"robing@bam.tech"},{"name":"pierpo","email":"pierr.poupin@laposte.net"},{"name":"pierrezimmermann","email":"pierrez@bam.tech"},{"name":"hugok","email":"hugok@bam.tech"},{"name":"nicodeck44","email":"nicolas.descamps@theodo.com"},{"name":"julienizz","email":"julien.izzillo@theodo.com"},{"name":"julienc6","email":"julienc@bam.tech"}],"contributors":[{"name":"vicprz"}],"homepage":"https://github.com/bamlab/react-navigation-live-reload-on-screen#readme","bugs":{"url":"https://github.com/bamlab/react-navigation-live-reload-on-screen/issues"},"dist":{"shasum":"91278246f85ad58f10531b6bc70fb40efffc970a","tarball":"https://registry.npmjs.org/@bam.tech/react-navigation-live-reload-on-screen/-/react-navigation-live-reload-on-screen-0.3.0.tgz","fileCount":3,"integrity":"sha512-2rxz8CeYz/+Xrnnx0/PV8CI6inyhTNDwaJE1TXU8MIWttDy9z4AhbS8G0F417XtyaDGz/sBjlEPh2zwKzxSxqw==","signatures":[{"sig":"MEYCIQCafgUQE173ToHsLtXoFEntD4FQoiYNkv3xB2trhNrQQwIhAP5ybz9wkU9T6lKOpYZwsYDIOBVvTjggUbb4HVG1+wNu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6474},"main":"index.tsx","gitHead":"c6ad89f0f29ec4a4d6f0ae499516441d06eb68fc","scripts":{},"_npmUser":{"name":"vicprz","email":"npm@victor.pm"},"repository":{"url":"git+https://github.com/bamlab/react-navigation-live-reload-on-screen.git","type":"git"},"_npmVersion":"10.7.0","description":"Make live reload to stay on current screen with react-navigation","directories":{},"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"peerDependencies":{"react":"*","react-native":"*","@react-navigation/native":"*","@react-native-async-storage/async-storage":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-navigation-live-reload-on-screen_0.3.0_1742550692452_0.0470168415824026","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2021-08-05T13:57:53.106Z","modified":"2026-04-14T19:16:50.783Z","0.1.0":"2021-08-05T13:57:53.311Z","0.2.0":"2021-08-09T14:28:45.373Z","0.3.0":"2025-03-21T09:51:32.651Z"},"bugs":{"url":"https://github.com/bamlab/react-navigation-live-reload-on-screen/issues"},"author":{"name":"Almouro"},"license":"MIT","homepage":"https://github.com/bamlab/react-navigation-live-reload-on-screen#readme","keywords":["react-navigation","react-native"],"repository":{"url":"git+https://github.com/bamlab/react-navigation-live-reload-on-screen.git","type":"git"},"description":"Make live reload to stay on current screen with react-navigation","contributors":[{"name":"vicprz"}],"maintainers":[{"email":"tychot@bam.tech","name":"tychota"},{"email":"antoine.thibierge@theodo.com","name":"antoinethib"},{"email":"marekk@bamlab.fr","name":"marekkalnik"},{"email":"yangl@bam.tech","name":"laurence923"},{"email":"remil@bam.tech","name":"remilry"},{"email":"paulb@bam.tech","name":"p0labrd"},{"email":"alexisd@bam.tech","name":"alexisd"},{"email":"thomasre@bam.tech","name":"thomasre"},{"email":"npm@victor.pm","name":"vicprz"},{"email":"pierr.poupin@laposte.net","name":"pierpo"},{"email":"pierrez@bam.tech","name":"pierrezimmermann"},{"email":"hugok@bam.tech","name":"hugok"},{"email":"zyad.alalgui@theodo.com","name":"al.zyad"},{"email":"nicolas.descamps@theodo.com","name":"nicodeck44"},{"email":"julien.izzillo@theodo.com","name":"julienizz"},{"email":"julienc@bam.tech","name":"julienc6"},{"email":"eliott.gandiolle@theodo.com","name":"eliottgdl"}],"readme":"# react-navigation-live-reload-on-screen\n\nBased [on this](https://reactnavigation.org/docs/state-persistence), stay on current screen when you live reload.\nThis works by storing the navigation state in the async storage and getting it back when reloading.\n\n## Install\n\n```sh\nyarn add @bam.tech/react-navigation-live-reload-on-screen\n```\n\n## Usage\n\n```tsx\nimport { NavigationContainer as ReactNavigationContainer } from \"@react-navigation/native\";\nimport { enableLiveReloadOnScreen } from \"@bam.tech/react-navigation-live-reload-on-screen\";\n\nconst ENABLE_LIVE_RELOAD = __DEV__;\nconst ENABLE_LIVE_RELOAD_LOGS = true;\nconst NavigationContainer = enableLiveReloadOnScreen(ENABLE_LIVE_RELOAD, ENABLE_LIVE_RELOAD_LOGS)(\n  ReactNavigationContainer\n);\n\n// Use NavigationContainer instead of the one from react-navigation\n```\n\n### Clearing navigation state\n\nIf you need to clear the persisted navigation state at some point:\n\n```tsx\nimport { clearNavigationState } from \"@bam.tech/react-navigation-live-reload-on-screen\";\n\nclearNavigationState();\n```\n","readmeFilename":"README.md"}