I am using @preact/signals-react to integrate my react project.
I have an issue that need a fix.
P.S I found that if I removed the import { signal } from '@preact/signals-react', thats work for me. I want to use @preact/signals-react tools.
My Environment
- React v16.8.6
- @preact/signals-react v1.2.2
My Code
import React, { useEffect } from 'react';
import { signal } from '@preact/signals-react';
const Scenes = (props) => {
    useEffect(() => {
        console.log('ComponentDidMount'); // Trigger Twice !!
    }, []);
    return <div>Hello</div>;
}
export default Scenes;
 
     
     
     
    