Skip to content

Instantly share code, notes, and snippets.

View goodlifeinc's full-sized avatar
✔️

Evgeni Atanasov goodlifeinc

✔️
View GitHub Profile
import { useRef, useState, memo, useEffect } from 'react';
import PropTypes from 'prop-types';
const noop = () => {};
const DEFAULT_DEBOUNCE_TIMEOUT = 330; // ms
const Debounced = ({ children, value, onChange, timeout }) => {
const timeoutIdRef = useRef(null);
const [innerValue, setInnerValue] = useState(value);
@goodlifeinc
goodlifeinc / XmlMappingTest.java
Created April 8, 2019 17:00 — forked from joaovarandas/XmlMappingTest.java
Possible Solution for UntypedObjectDeserializer
package test.com.inpaas.http.wsdl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import com.fasterxml.jackson.core.JsonParseException;