Rax useMounted hook
npm install rax-use-mountedCalls a function after the component is mounted.
``bash`
$ npm install rax-use-mounted --save
`jsx
import { createElement } from 'rax';
import useMounted from 'rax-use-mounted';
export default function App() {
useMounted(() => {
console.log('App has been mounted.');
});
}
``