Integration of pqgrid with React 18 using new functions and hooks instead of classes.

This example is similar to previous example on change locale of pqgrid by selecting options from a dropdown outside grid.

However this is implemented using new functions and hooks available in React 18.

Pqgrid component in this example uses useEffect hook instead of componentDidMount, componentDidUpdate and componentWillUnmount component lifecycle