Title: hot reloader doesn't deal well with lifecycle methods · Issue #49 · hyperstack-org/hyperstack · GitHub
Open Graph Title: hot reloader doesn't deal well with lifecycle methods · Issue #49 · hyperstack-org/hyperstack
X Title: hot reloader doesn't deal well with lifecycle methods · Issue #49 · hyperstack-org/hyperstack
Description: each time lifecycle methods are executed the add more blocks to the lifecycle stack. When the hot reloader reloads a file, all the lifecycle methods are added again. There is no easy solution as hot reloader only reloads the single file ...
Open Graph Description: each time lifecycle methods are executed the add more blocks to the lifecycle stack. When the hot reloader reloads a file, all the lifecycle methods are added again. There is no easy solution as ho...
X Description: each time lifecycle methods are executed the add more blocks to the lifecycle stack. When the hot reloader reloads a file, all the lifecycle methods are added again. There is no easy solution as ho...
Opengraph URL: https://github.com/hyperstack-org/hyperstack/issues/49
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hot reloader doesn't deal well with lifecycle methods","articleBody":"each time lifecycle methods are executed the add more blocks to the lifecycle stack.\r\n\r\nWhen the hot reloader reloads a file, all the lifecycle methods are added again.\r\n\r\nThere is no easy solution as hot reloader only reloads the single file that changed. So if we remove all lifecycle methods then only the ones for the file being reloaded will get added back in.\r\n\r\nThe solution may be here: https://github.com/stacktracejs/stacktrace.js\r\n\r\nUsing this we could track which file defined a life cycle method, and then remove just those methods when the file was reloaded.\r\n","author":{"url":"https://github.com/catmando","@type":"Person","name":"catmando"},"datePublished":"2018-10-21T02:21:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/49/hyperstack/issues/49"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e7e802ae-a171-00f2-c267-8c533028070c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 871C:18E7F8:1385FE4:1940DA4:69924DCA |
| html-safe-nonce | 288244f8e3c65914a475638143f1249c8e166a288f9737e9ee1cfa8126a6bd1b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzFDOjE4RTdGODoxMzg1RkU0OjE5NDBEQTQ6Njk5MjREQ0EiLCJ2aXNpdG9yX2lkIjoiOTQ3MDU1NzI2NjUxNjU3Njc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 277cc372c8eb0ffa395ff65f9c48e9a91cf59feb6f74b99c8ac10ad983c0712b |
| hovercard-subject-tag | issue:372271894 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hyperstack-org/hyperstack/49/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5afceba7611e5445b076268be294ed4793c863bb88bd00b6f76c5131e992ad40/hyperstack-org/hyperstack/issues/49 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5afceba7611e5445b076268be294ed4793c863bb88bd00b6f76c5131e992ad40/hyperstack-org/hyperstack/issues/49 |
| og:image:alt | each time lifecycle methods are executed the add more blocks to the lifecycle stack. When the hot reloader reloads a file, all the lifecycle methods are added again. There is no easy solution as ho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | catmando |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/hyperstack-org/hyperstack git https://github.com/hyperstack-org/hyperstack.git |
| octolytics-dimension-user_id | 34562730 |
| octolytics-dimension-user_login | hyperstack-org |
| octolytics-dimension-repository_id | 145879576 |
| octolytics-dimension-repository_nwo | hyperstack-org/hyperstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145879576 |
| octolytics-dimension-repository_network_root_nwo | hyperstack-org/hyperstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width