text: 
  class EasyComponent{
  
      constructor(state={}){
       
          this.state = this.startState()
          Object.entries(state).forEach(([key, value]) => {
              this.state[key] = value 
          })    
          this.mainComponent = this.render().internalRender()
      }
      startState(){
          return {}
      }   
  
      internalRender(){
          return this.mainComponent
      }
  
  
  }