From 6f134101a46ea738f0ff64c6c4a0fb47b9f07767 Mon Sep 17 00:00:00 2001 From: ryan-williams Date: Sun, 14 Apr 2024 17:33:18 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20runsasco?= =?UTF-8?q?ded/react-data-table-hydration-bug@dd303bb15698775b435ac3126330?= =?UTF-8?q?9fddb63327cb=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- .../Eo8V_c-Nd1tB_RljnxJ7R/_buildManifest.js | 1 + .../_ssgManifest.js | 0 .../Y6THL5kzbsOVurMbONesr/_buildManifest.js | 1 - .../chunks/pages/index-7ecbe382c6758524.js | 1 + hydration-error.html | 2 +- hydration-error.png | Bin 0 -> 397871 bytes index.html | 1 + no-pagination-no-error.html | 2 +- no-pagination-no-error.png | Bin 0 -> 50882 bytes 10 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 _next/static/Eo8V_c-Nd1tB_RljnxJ7R/_buildManifest.js rename _next/static/{Y6THL5kzbsOVurMbONesr => Eo8V_c-Nd1tB_RljnxJ7R}/_ssgManifest.js (100%) delete mode 100644 _next/static/Y6THL5kzbsOVurMbONesr/_buildManifest.js create mode 100644 _next/static/chunks/pages/index-7ecbe382c6758524.js create mode 100644 hydration-error.png create mode 100644 index.html create mode 100644 no-pagination-no-error.png diff --git a/404.html b/404.html index 935d9f8..194de03 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/Eo8V_c-Nd1tB_RljnxJ7R/_buildManifest.js b/_next/static/Eo8V_c-Nd1tB_RljnxJ7R/_buildManifest.js new file mode 100644 index 0000000..95bfe6c --- /dev/null +++ b/_next/static/Eo8V_c-Nd1tB_RljnxJ7R/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(r){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":["static/chunks/pages/index-7ecbe382c6758524.js"],"/_error":["static/chunks/pages/_error-66ac8ca5e5676424.js"],"/hydration-error":[r,"static/chunks/pages/hydration-error-6c767b88ea4792c0.js"],"/no-pagination-no-error":[r,"static/chunks/pages/no-pagination-no-error-c8415349bcbde24d.js"],sortedPages:["/","/_app","/_error","/hydration-error","/no-pagination-no-error"]}}("static/chunks/788-85ceda2cba6645f0.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/Y6THL5kzbsOVurMbONesr/_ssgManifest.js b/_next/static/Eo8V_c-Nd1tB_RljnxJ7R/_ssgManifest.js similarity index 100% rename from _next/static/Y6THL5kzbsOVurMbONesr/_ssgManifest.js rename to _next/static/Eo8V_c-Nd1tB_RljnxJ7R/_ssgManifest.js diff --git a/_next/static/Y6THL5kzbsOVurMbONesr/_buildManifest.js b/_next/static/Y6THL5kzbsOVurMbONesr/_buildManifest.js deleted file mode 100644 index 02f5da9..0000000 --- a/_next/static/Y6THL5kzbsOVurMbONesr/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(r){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-66ac8ca5e5676424.js"],"/hydration-error":[r,"static/chunks/pages/hydration-error-6c767b88ea4792c0.js"],"/no-pagination-no-error":[r,"static/chunks/pages/no-pagination-no-error-c8415349bcbde24d.js"],sortedPages:["/_app","/_error","/hydration-error","/no-pagination-no-error"]}}("static/chunks/788-85ceda2cba6645f0.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/chunks/pages/index-7ecbe382c6758524.js b/_next/static/chunks/pages/index-7ecbe382c6758524.js new file mode 100644 index 0000000..ef248a9 --- /dev/null +++ b/_next/static/chunks/pages/index-7ecbe382c6758524.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{7971:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(1897)}])},2641:function(e,t){"use strict";var n,r,o,l;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return s},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return f},ACTION_REFRESH:function(){return u},ACTION_RESTORE:function(){return i},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let u="refresh",a="navigate",i="restore",c="server-patch",f="prefetch",s="fast-refresh",d="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=n||(n={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(l=r||(r={})).fresh="fresh",l.reusable="reusable",l.expired="expired",l.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3200:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(1169),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7838:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return j}});let r=n(2430),o=n(1527),l=r._(n(959)),u=n(5072),a=n(1951),i=n(5763),c=n(3172),f=n(3871),s=n(192),d=n(1028),p=n(9677),h=n(3200),b=n(272),y=n(2641),g=new Set;function v(e,t,n,r,o,l){if(l||(0,a.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(o))return;g.add(o)}Promise.resolve(l?e.prefetch(t,o):e.prefetch(t,n,r)).catch(e=>{})}}function _(e){return"string"==typeof e?e:(0,i.formatUrl)(e)}let j=l.default.forwardRef(function(e,t){let n,r;let{href:i,as:g,children:j,prefetch:x=null,passHref:m,replace:O,shallow:C,scroll:E,locale:T,onClick:P,onMouseEnter:R,onTouchStart:M,legacyBehavior:k=!1,...A}=e;n=j,k&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let I=l.default.useContext(s.RouterContext),w=l.default.useContext(d.AppRouterContext),N=null!=I?I:w,S=!I,L=!1!==x,U=null===x?y.PrefetchKind.AUTO:y.PrefetchKind.FULL,{href:D,as:K}=l.default.useMemo(()=>{if(!I){let e=_(i);return{href:e,as:g?_(g):e}}let[e,t]=(0,u.resolveHref)(I,i,!0);return{href:e,as:g?(0,u.resolveHref)(I,g):t||e}},[I,i,g]),F=l.default.useRef(D),H=l.default.useRef(K);k&&(r=l.default.Children.only(n));let V=k?r&&"object"==typeof r&&r.ref:t,[B,G,X]=(0,p.useIntersection)({rootMargin:"200px"}),q=l.default.useCallback(e=>{(H.current!==K||F.current!==D)&&(X(),H.current=K,F.current=D),B(e),V&&("function"==typeof V?V(e):"object"==typeof V&&(V.current=e))},[K,V,D,X,B]);l.default.useEffect(()=>{N&&G&&L&&v(N,D,K,{locale:T},{kind:U},S)},[K,D,G,T,L,null==I?void 0:I.locale,N,S,U]);let z={ref:q,onClick(e){k||"function"!=typeof P||P(e),k&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),N&&!e.defaultPrevented&&function(e,t,n,r,o,u,i,c,f){let{nodeName:s}=e.currentTarget;if("A"===s.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!f&&!(0,a.isLocalURL)(n)))return;e.preventDefault();let d=()=>{let e=null==i||i;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:u,locale:c,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};f?l.default.startTransition(d):d()}(e,N,D,K,O,C,E,T,S)},onMouseEnter(e){k||"function"!=typeof R||R(e),k&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),N&&(L||!S)&&v(N,D,K,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:U},S)},onTouchStart:function(e){k||"function"!=typeof M||M(e),k&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),N&&(L||!S)&&v(N,D,K,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:U},S)}};if((0,c.isAbsoluteUrl)(K))z.href=K;else if(!k||m||"a"===r.type&&!("href"in r.props)){let e=void 0!==T?T:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,h.getDomainLocale)(K,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);z.href=t||(0,b.addBasePath)((0,f.addLocale)(K,e,null==I?void 0:I.defaultLocale))}return k?l.default.cloneElement(r,z):(0,o.jsx)("a",{...A,...z,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9677:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return i}});let r=n(959),o=n(3804),l="function"==typeof IntersectionObserver,u=new Map,a=[];function i(e){let{rootRef:t,rootMargin:n,disabled:i}=e,c=i||!l,[f,s]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(l){if(c||f)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:l}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=a.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=u.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},a.push(n),u.set(n,t),t}(n);return l.set(e,t),o.observe(e),function(){if(l.delete(e),o.unobserve(e),0===l.size){o.disconnect(),u.delete(r);let e=a.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&s(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!f){let e=(0,o.requestIdleCallback)(()=>s(!0));return()=>(0,o.cancelIdleCallback)(e)}},[c,n,t,f,d.current]),[p,f,(0,r.useCallback)(()=>{s(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1897:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(1527),o=n(3251),l=n.n(o);function u(){let e=(0,r.jsx)("a",{target:"_blank",href:"https://github.com/jbetancur/react-data-table-component",children:"react-data-table-component"}),t=(0,r.jsx)("a",{href:"https://github.com/jbetancur/react-data-table-component/blob/v7.6.2/src/DataTable/DataTable.tsx",children:"DataTable"});return(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{children:(0,r.jsx)("a",{target:"_blank",href:"https://github.com/runsascoded/react-data-table-hydration-bug",children:"react-data-table-hydration-bug"})}),(0,r.jsxs)("p",{children:["Repro of a hydration error in ",e,"'s pagination ",(0,r.jsx)("code",{children:"