# fluent-cart/1.3.26/assets/ReactSupport.js

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.3.26. 2 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.3.26/code/assets/ReactSupport.js
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.3.26/raw/assets/ReactSupport.js
- Modified: 2026-01-23T12:08:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.3.26/code/assets/ReactSupport.js#L10-L20`.

```javascript
const m=new Map,h=new Map,d=new Set,a=new Set;let _=new WeakMap;function b(o){let n=o.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n===void 0){let t=0;o.__REACT_DEVTOOLS_GLOBAL_HOOK__=n={renderers:new Map,supportsFiber:!0,inject:e=>t++,onScheduleFiberRoot:(e,i,s)=>{},onCommitFiberRoot:(e,i,s,c)=>{},onCommitFiberUnmount(){}}}if(n.isDisabled){console.warn("Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). Fast Refresh is not compatible with this shim and will be disabled.");return}const R=n.inject;n.inject=function(t){const e=R.apply(this,arguments);return typeof t.scheduleRefresh=="function"&&typeof t.setRefreshHandler=="function"&&m.set(e,t),e},n.renderers.forEach((t,e)=>{typeof t.scheduleRefresh=="function"&&typeof t.setRefreshHandler=="function"&&m.set(e,t)});const p=n.onCommitFiberRoot,w=n.onScheduleFiberRoot||(()=>{});n.onScheduleFiberRoot=function(t,e,i){return a.delete(e),_!==null&&_.set(e,i),w.apply(this,arguments)},n.onCommitFiberRoot=function(t,e,i,s){const c=m.get(t);if(c!==void 0){h.set(e,c);const f=e.current,u=f.alternate;if(u!==null){const l=u.memoizedState!=null&&u.memoizedState.element!=null&&d.has(e),r=f.memoizedState!=null&&f.memoizedState.element!=null;!l&&r?(d.add(e),a.delete(e)):l&&r||(l&&!r?(d.delete(e),s?a.add(e):h.delete(e)):!l&&!r&&s&&a.add(e))}else d.add(e)}return p.apply(this,arguments)}}window.__registerBeforePerformReactRefresh=o=>{};const O={injectIntoGlobalHook:b};O.injectIntoGlobalHook(window);window.$RefreshReg$=()=>{};window.$RefreshSig$=()=>o=>o;window.__vite_plugin_react_preamble_installed__=!0;

```
