Title: Prevent errors if remoteForm is run in an SSR environment by dgreif · Pull Request #29 · github/remote-form · GitHub
Open Graph Title: Prevent errors if remoteForm is run in an SSR environment by dgreif · Pull Request #29 · github/remote-form
X Title: Prevent errors if remoteForm is run in an SSR environment by dgreif · Pull Request #29 · github/remote-form
Description: Submit forms via AJAX with ease. Contribute to github/remote-form development by creating an account on GitHub.
Open Graph Description: We have some code being run in an SSR environment (where document is not defined) which breaks currently. This adds a safety check to only add event listeners if document is actually defined.
X Description: We have some code being run in an SSR environment (where document is not defined) which breaks currently. This adds a safety check to only add event listeners if document is actually defined.
Opengraph URL: https://github.com/github/remote-form/pull/29
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e4d2c40e-f340-c655-0fb3-4ab3b6561117 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CBCA:FD134:174200C:20F830C:6A50BE64 |
| html-safe-nonce | 2033346ea635f6e3ff06d949bad1c3619d709108d126c18e43f8e2395888c85a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkNBOkZEMTM0OjE3NDIwMEM6MjBGODMwQzo2QTUwQkU2NCIsInZpc2l0b3JfaWQiOiI5OTQ4NDI1OTQxNDY2NzI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6623362ca1ec7ef7f70ef11243ad54c2580bd112fe1e32401c5c52ed8abccd56 |
| hovercard-subject-tag | pull_request:1286415488 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/github/remote-form/29/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/44883a598693d73319fda798f91be61f237673e596a13e2bf843c46dd9111ab4/github/remote-form/pull/29 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/44883a598693d73319fda798f91be61f237673e596a13e2bf843c46dd9111ab4/github/remote-form/pull/29 |
| og:image:alt | We have some code being run in an SSR environment (where document is not defined) which breaks currently. This adds a safety check to only add event listeners if document is actually defined. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dgreif |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| turbo-cache-control | no-cache |
| go-import | github.com/github/remote-form git https://github.com/github/remote-form.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 181677179 |
| octolytics-dimension-repository_nwo | github/remote-form |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 181677179 |
| octolytics-dimension-repository_network_root_nwo | github/remote-form |
| 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 | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width