(value)
| 257 | return state; |
| 258 | } |
| 259 | function useBar(value) { |
| 260 | const result = useCustom(value); |
| 261 | React.useLayoutEffect(effect); |
| 262 | return result; |
| 263 | } |
| 264 | function useBaz(value) { |
| 265 | React.useLayoutEffect(effect); |
| 266 | const result = useCustom(value); |