use components on server and client