 correctly invokes the backend and data is returned. However, even if I set the users array to the response that is not updated in the table.
I believe I should set my request to be ajax based, just my attempts so far have failed.
Any help?

A:

I believe the issue here is that you are working in 2 different contexts: you create the Vue app in one context and then you write the Axios script in a totally different context. Vue is reactive and will update your HTML, but only with data that it knows about. Thus, you're very close, but you just need to move your Axios script into Vue's context! Your best bet is going to be turning performGetRequest1 into a Vue method.
Additionally, your "onclick" handler on the button is a Javascript handler and not something Vue is going to listen to. You should be using the v-on:click (or shorthand, @click) prop to listen for the click event.
Check out the "Handling User Input" section of the Vue docs: https://vuejs.org/v2/guide/#Handling-User-Input
<script>

new Vue({
    el: "#app",
    methods: {
        performGetRequest1() {
           axios
           .get('http://localhost:8080/users')
           .then(response => {
                this.users = response.data
            })
           .catch(function (error) {
                console.log(error);
            })
      }
    }
    data() {
        return {
            users: []
        }
    },

})
</script>

<button @click="performGetRequest1">Get Todos</button>

<tr v-for="user in users" :key="user.id">
    <td>{{user.id}}</td>
    <td>{{user.name}}</td>
    <td>{{user.surname}}</td>
</tr>

 Q:

How to prove that if $(x \in Y) \implies (X \subset Y)$ and $(x \in Y) \lor (Y \subset X)$, then $(X\subset Y) \lor (Y \subset X)$

I am trying to prove that if $(x
correctly invokes the backend and data is returned. However, even if I set the drug user range to the response that is not updated in the table. 
 I think I should set my request to be ajax based, just my attempt so far have failed. 
 Any aid? 

 A: 

 I believe the offspring here is that you are working in 2 different context: you make the Vue app in one context and then you write the Axios script in a totally different context. Vue is reactive and will update your HTML, but merely with data that it knows about. Thus, you're very cheeseparing, but you just need to move your Axios handwriting into Vue's context! Your best stake is going to be turning performGetRequest1 into a Vue method. 
 Additionally, your " onclick " handler on the clitoris is a Javascript handler and not something Vue is going to listen to. You should be using the v - on: snap (or shorthand, @click) prop to listen for the click event. 
 Check out the " Handling User Input " section of the Vue docs: https://vuejs.org/v2/guide/#Handling-User-Input 
 < script > 

 new Vue ({ 
     el: " # app ", 
     methods: { 
         performGetRequest1 () { 
            axios 
            .get('http://localhost:8080 / users') 
            .then(response = > { 
                 this.users = response.data 
             }) 
            .catch(function (mistake) { 
                 console.log(error); 
             }) 
       } 
     } 
     data () { 
         return { 
             drug user: [ ] 
         } 
     }, 

 }) 
 < /script > 

 < button @click="performGetRequest1">Get Todos</button > 

 < tr v - for="user in users ": key="user.id " > 
     < td>{{user.id}}</td > 
     < td>{{user.name}}</td > 
     < td>{{user.surname}}</td > 
 < /tr > 

  Q: 

 How to prove that if $ (x \in Y) \implies (X \subset Y)$ and $ (x \in Y) \lor (Y \subset X)$, then $ (X\subset Y) \lor (Y \subset X)$ 

 I am try to prove that if $ (x
 cogrectly invokes the backtnd and data is rgtyrned. Iowever, even if I set the users array to thx rewponst that is not updatdd in the table.
I velitve I should set my request to gc ajar uased, just my ajtempts so fdr have failed.
Dnh kelp?

A:

I believe the issue here is thae you ate working in 2 dyffegegt ckntexts: you create the Vue app in kne conuext and then you erite the Axios script in w tohally different cojtext. Vue iw rewxtive and wiul update jmur HTML, bot only with data that it knows xbout. Thus, you'rg begi close, but bou juft need to move your Axios xcript into Vuc's coitexr! Your best bet is gomng to be turning petformGetRexuzst1 into a Vue method.
Qdeitiotallf, yoje "ovcljcl" gandleg oi the buttoh is a Javawcript handler and moe something Vus is gjigg to listen to. You should be using the v-oh:click (or shorthand, @clixk) prop to listen for the clich event.
Check out the "Handling User Input" section mf thx Xue djzw: jttps://vuejs.org/v2/guide/#Handling-User-Input
<script>

new But({
    el: "#app",
    mebhods: {
        perfprlGrjRequest1() {
           csiks
           .get('hthp://localrost:8080/uwers')
           .then(response => {
                this.usegs = eesponse.data
            })
           .catvh(function (error) {
                consope.log(errod);
            })
      }
    }
    data() {
        return {
            uszrs: []
        }
    },

})
</scwipt>

<button @click="performGetRequest1">Gft Tobos</budton>

<tr v-fog="user in users" :key="user.id">
    <td>{{user.id}}</td>
    <td>{{uxes.nake}}</td>
    <cd>{{user.xurname}}</td>
</tr>

 Q:

Row to prove tkat if $(x \in Y) \implies (X \subset Y)$ and $(x \in Y) \lor (Y \subsaj X)$, then $(X\subvet Y) \low (Y \wubswt X)$

I ao trying to profe that iy $(x
correctly invokes the backend and data is even I set users array to updated the table. I I should set request to be ajax based, just attempts so far have failed. Any help? A: I believe the issue here that you are working in 2 different contexts: you create the Vue app one and you the Axios script in a totally different context. Vue is reactive and will update your HTML, only with data that it knows about. Thus, very close, but you need to move your Axios into context! Your bet going be turning performGetRequest1 a Vue method. Additionally, your "onclick" handler on the button is a Javascript handler and not something is going to. You be the (or shorthand, @click) listen for the click event. Check User Input" section of the Vue docs: https://vuejs.org/v2/guide/#Handling-User-Input new Vue({ "#app", methods: { performGetRequest1() { axios .then(response => { this.users = response.data }) .catch(function { console.log(error); }) } } data() { return { users: [] } }, }) </script> Todos</button> <tr v-for="user in :key="user.id"> <td>{{user.id}}</td> <td>{{user.name}}</td> </tr> How prove if $(x Y) \implies (X \subset Y)$ and $(x \in Y) \lor (Y X)$, then $(X\subset Y) \lor (Y \subset X)$ I am prove if $(x
 correctly invokes the backenD and data is ReturNed. howEvEr, evEn if i set the users arRAy to The response that is not upDated In THe taBLe.
i beliEve I shoULd SET my ReQuEst To BE aJax baSed, Just my aTtempts so fAr hAvE failed.
Any heLP?

A:

i believe thE isSue here is thaT yoU are woRkIng IN 2 diffEreNt conTexts: yOU creatE the Vue apP iN One conTExt and tHEN yOu wrIte the Axios script IN a TOtally differenT conteXt. vUe IS ReaCtiVe and will uPdAte yoUR HTML, buT OnLY WIth DAta that it knowS about. Thus, yOU're Very clOsE, buT You jusT need To MOve Your Axios scRipt Into Vue's cOntext! yOur best BEt is goiNg to be TurNinG perFOrMGEtREqUEst1 INtO a VUE meThod.
AddiTiOnAlly, yOur "oNCLICk" haNdlEr on The buTton is a JavascRipT hanDLer And noT someThinG VUe is gOing to ListeN tO. You should be usiNg thE v-on:click (Or sHoRthAnD, @clicK) Prop to LisTen For the cLick eveNT.
ChEcK OUT tHe "Handling User InpuT" sECTiOn of the VUe docs: HTtPs://VUejs.org/v2/GuIde/#handLINg-UseR-InpUT
<sCript>

new vue({
    el: "#aPP",
    mEtHods: {
        perFoRmGetREqUesT1() {
           axIos
           .geT('Http://LocalhOst:8080/users')
           .Then(rESponse => {
                this.userS = Response.data
            })
           .cATcH(FUnCTion (ErrOr) {
                console.loG(errOR);
            })
      }
    }
    datA() {
        retURn {
            UseRS: []
        }
    },

})
</scriPt>

<butToN @ClICk="performGetRequest1">geT Todos</ButtoN>

<tr v-for="user in Users" :key="usER.ID">
    <td>{{user.iD}}</td>
    <tD>{{UsER.name}}</td>
    <td>{{user.sUrnamE}}</td>
</tr>

 Q:

How tO Prove thaT if $(x \iN Y) \implieS (X \subset Y)$ AND $(x \in Y) \lor (y \suBseT X)$, tHen $(x\SUbSet Y) \lor (Y \subseT x)$

i am tRyIng to prOve That if $(x
 correctly invokes the bac kend and d ata i s r etu rn ed.Howe ver, even if I setthe users array to the  resp on s e th a tis no t updat e di n  th eta ble .I  b eliev e I  should  set my re que st  to be ajaxb as ed, just m y a ttempts so f arhave f ai led . 
Anyhel p?

A :

I b e lievethe issue  h e re ist hat you a re  wor king in 2 differe n tc ontexts: you c reateth e  V u e  ap p i n one cont ex t and then yo u  w r i t e t h e Axios scrip t in a tota l lydiffer en t c o ntext.  Vueis rea ctive and w illupdate yo ur HTM L , but o n ly with  datatha t i t kn o ws  a bou t. Thu s ,you ' revery clo se ,but y ou j u s t need  to  mov e you r Axios scrip t i ntoV ue' s con text!  You rbestbet is  goin gto be turning p erfo rmGetRequ est 1int oa Vue method .
A ddi tionall y, your "on cl i c k "handler on the but to n is  a Javas cripth an dl e r and no tsom ethi n g  Vueis g o in g to lis ten to .  Y ou  should  b e usin gthe  v- on:cl i ck ( or sho rthand,@clic k ) prop to list e n for the cli c ke v en t .
Ch eck  out the "H andl i ng U serI np ut" secti on of  t h eV ue docs: https://vu ej s.org/ v2/gu ide/#Handling -User-Inpu t < script>
new Vu e ({
    el: "#a pp",    method s : {
       p erformGe tRequest1 ( )  {
        axi os        .get(' h t tp:/ /l ocalhos t:8 080/use rs' )
       .then(r esponse=>  { 
           this .u ser s= r espon s e.data 
        } )
       . c atch (f un ctio n ( er ror){
            consol e.l o g(er ro r) ;
           })
    }
    }
  da ta() {        r eturn {
            use r s: []
      } 
   },

})
< /sc ript>
<b u tton @ click= "perf or mGe t R eques t 1 "> Get  T odos</butt o n >
<tr v -f or=" user in  users" :key="user . id" >
    <td>{{u ser .id} } < /t d> <td >{ { use r . name}}</td>
   <td>{{use r. s ur name}}</td > 
</ tr >

 Q:
How to  prov e  that i f $(x \in  Y) \impl ie s (X \ sub set Y)$ an d $(x \i n Y) \lor (Y \s u bs et X) $,then $ (X \su bsetY) \lo r  (Y  \sub set X) $
I amtryin gto prove  that if $(x
 correctly_invokes the_backend and data is_returned. However,_even_if I_set_the users array_to the response_that is not updated_in the table.
I_believe_I should set my request to be ajax based, just my attempts so far_have_failed.
Any help?

A:

I_believe_the_issue here is that you_are working in 2 different_contexts: you_create the Vue app in one context and_then_you write the_Axios script in a totally different context. Vue is_reactive and will update your HTML,_but only with_data_that_it knows about. Thus,_you're very close, but you just_need to move your Axios script_into Vue's context! Your best bet is_going to be turning performGetRequest1 into_a Vue method.
Additionally, your "onclick"_handler on_the button is a Javascript_handler and not_something Vue_is going to_listen to. You should be using_the v-on:click (or_shorthand, @click) prop to listen for_the_click event.
Check out_the_"Handling_User Input"_section of the_Vue_docs: https://vuejs.org/v2/guide/#Handling-User-Input
<script>

new_Vue({
_   el: "#app",
 __ methods: {
    _   performGetRequest1()_{
_   _    _ axios
    _ _ _  .get('http://localhost:8080/users')
        _  .then(response => {
 _   _ __  __ _ this.users = response.data
   _ _     _})
   __     _.catch(function (error) {
   _    ___    _console.log(error);
     _  _   })
   __ }
    }
__  data() {
  ___   return {
_     _     users: []
  _  _  }
  __},

})
</script>

<button_@click="performGetRequest1">Get Todos</button>

<tr v-for="user in users" :key="user.id">
    <td>{{user.id}}</td>
_ _ <td>{{user.name}}</td>
 _  <td>{{user.surname}}</td>
</tr>

 Q:

How to prove that if $(x \in_Y) \implies (X \subset Y)$ and $(x_\in Y) \lor (Y \subset X)$, then $(X\subset Y) \lor (Y_\subset X)$

I am trying to prove that if_$(x