In the below code the useEffect changes to loaded state to true when the component is loaded
let [loaded, setLoaded] = useState(false);
console.log(props.result.meanings);
useEffect(() => {
setLoaded(true);
}, [props.result]);
if (loaded) { \\ the rest of the code
and this will cause a problem because it enters an if condition where the props value is not assigned from the parent component yet.