ed2d3ad6ee651a622510bf40137a4bbd.json
1.39 KB
{"ast":null,"code":"import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport * as React from 'react';\nexport default function useForceUpdate() {\n var _React$useReducer = React.useReducer(function (x) {\n return x + 1;\n }, 0),\n _React$useReducer2 = _slicedToArray(_React$useReducer, 2),\n forceUpdate = _React$useReducer2[1];\n\n return forceUpdate;\n}","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/antd/es/_util/hooks/useForceUpdate.js"],"names":["_slicedToArray","React","useForceUpdate","_React$useReducer","useReducer","x","_React$useReducer2","forceUpdate"],"mappings":"AAAA,OAAOA,cAAP,MAA2B,sCAA3B;AACA,OAAO,KAAKC,KAAZ,MAAuB,OAAvB;AACA,eAAe,SAASC,cAAT,GAA0B;AACvC,MAAIC,iBAAiB,GAAGF,KAAK,CAACG,UAAN,CAAiB,UAAUC,CAAV,EAAa;AACpD,WAAOA,CAAC,GAAG,CAAX;AACD,GAFuB,EAErB,CAFqB,CAAxB;AAAA,MAGIC,kBAAkB,GAAGN,cAAc,CAACG,iBAAD,EAAoB,CAApB,CAHvC;AAAA,MAIII,WAAW,GAAGD,kBAAkB,CAAC,CAAD,CAJpC;;AAMA,SAAOC,WAAP;AACD","sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport * as React from 'react';\nexport default function useForceUpdate() {\n var _React$useReducer = React.useReducer(function (x) {\n return x + 1;\n }, 0),\n _React$useReducer2 = _slicedToArray(_React$useReducer, 2),\n forceUpdate = _React$useReducer2[1];\n\n return forceUpdate;\n}"]},"metadata":{},"sourceType":"module"}