todo rendering html server side and client side events reactive function through server side and cliend side