Sobes.tech
Junior — Senior

Correct deficiencies

livecode

Task condition

Will React interpret the function useIncrement as a custom hook?

const useIncrement = (start) => start + 1;

function ExampleComponent() {
    const count = useIncrement(0);

    return (
        <div>
            <p>Count: {count}</p>
        </div>
    );
}

export default ExampleComponent;