Hacker News new | ask | show | jobs
by afiori 1525 days ago
It would be enough for functional components to have extensible input and outputs

    function Button({props,ref,key,hooks}){
      useEffect(hooks,()=>{...})
      return {render: "text", ...stuff}
    }
1 comments

Yeah come on, the global hidden variables are completely unnecessary.