handle multiple checkboxes and complex data structure (reactjs)









up vote
2
down vote

favorite












Since I am pretty new to React and also not a huge expert on JS especially ES6, I wonder how to make my code (that works) prettier and refactor it.



I want to handle multiple checkboxes in a form and store the current value in the state object. Since the checkboxes are grouped I want a structure as answeredTasks like that:



 
"isLoaded":true,
"answeredTasks":
"1":[
"green",
"blue",
"red"
],
"5":[
"car",
"cat",
"house"
]




Here is my onChange method on a checkbox:



 checkBoxOnChange = e => 
let currentAnswers = this.state.answeredTasks;

let element = e.currentTarget;

// if it is the first answer checked
if (currentAnswers[element.name] === undefined)
currentAnswers[element.name] = ;


// if uncheck
if (!element.checked)
const index = currentAnswers[element.name].indexOf(element.value);
currentAnswers[element.name].splice(index, 1);
else
currentAnswers[element.name].push(element.value);


this.setState( answeredTasks: currentAnswers );
;


Can you tell me how to improve my method, especially with ES6?
I mostly struggled with creating the data structure.



Thanks.










share|improve this question





















  • Can you please provide the code to your whole component code? Also, as an advice, avoid using "let" in your code and instead use "const" to avoid mutating data. Try learning functional programming paradigm which is the best industry practice.
    – xeiton
    Nov 10 at 20:59















up vote
2
down vote

favorite












Since I am pretty new to React and also not a huge expert on JS especially ES6, I wonder how to make my code (that works) prettier and refactor it.



I want to handle multiple checkboxes in a form and store the current value in the state object. Since the checkboxes are grouped I want a structure as answeredTasks like that:



 
"isLoaded":true,
"answeredTasks":
"1":[
"green",
"blue",
"red"
],
"5":[
"car",
"cat",
"house"
]




Here is my onChange method on a checkbox:



 checkBoxOnChange = e => 
let currentAnswers = this.state.answeredTasks;

let element = e.currentTarget;

// if it is the first answer checked
if (currentAnswers[element.name] === undefined)
currentAnswers[element.name] = ;


// if uncheck
if (!element.checked)
const index = currentAnswers[element.name].indexOf(element.value);
currentAnswers[element.name].splice(index, 1);
else
currentAnswers[element.name].push(element.value);


this.setState( answeredTasks: currentAnswers );
;


Can you tell me how to improve my method, especially with ES6?
I mostly struggled with creating the data structure.



Thanks.










share|improve this question





















  • Can you please provide the code to your whole component code? Also, as an advice, avoid using "let" in your code and instead use "const" to avoid mutating data. Try learning functional programming paradigm which is the best industry practice.
    – xeiton
    Nov 10 at 20:59













up vote
2
down vote

favorite









up vote
2
down vote

favorite











Since I am pretty new to React and also not a huge expert on JS especially ES6, I wonder how to make my code (that works) prettier and refactor it.



I want to handle multiple checkboxes in a form and store the current value in the state object. Since the checkboxes are grouped I want a structure as answeredTasks like that:



 
"isLoaded":true,
"answeredTasks":
"1":[
"green",
"blue",
"red"
],
"5":[
"car",
"cat",
"house"
]




Here is my onChange method on a checkbox:



 checkBoxOnChange = e => 
let currentAnswers = this.state.answeredTasks;

let element = e.currentTarget;

// if it is the first answer checked
if (currentAnswers[element.name] === undefined)
currentAnswers[element.name] = ;


// if uncheck
if (!element.checked)
const index = currentAnswers[element.name].indexOf(element.value);
currentAnswers[element.name].splice(index, 1);
else
currentAnswers[element.name].push(element.value);


this.setState( answeredTasks: currentAnswers );
;


Can you tell me how to improve my method, especially with ES6?
I mostly struggled with creating the data structure.



Thanks.










share|improve this question













Since I am pretty new to React and also not a huge expert on JS especially ES6, I wonder how to make my code (that works) prettier and refactor it.



I want to handle multiple checkboxes in a form and store the current value in the state object. Since the checkboxes are grouped I want a structure as answeredTasks like that:



 
"isLoaded":true,
"answeredTasks":
"1":[
"green",
"blue",
"red"
],
"5":[
"car",
"cat",
"house"
]




Here is my onChange method on a checkbox:



 checkBoxOnChange = e => 
let currentAnswers = this.state.answeredTasks;

let element = e.currentTarget;

// if it is the first answer checked
if (currentAnswers[element.name] === undefined)
currentAnswers[element.name] = ;


// if uncheck
if (!element.checked)
const index = currentAnswers[element.name].indexOf(element.value);
currentAnswers[element.name].splice(index, 1);
else
currentAnswers[element.name].push(element.value);


this.setState( answeredTasks: currentAnswers );
;


Can you tell me how to improve my method, especially with ES6?
I mostly struggled with creating the data structure.



Thanks.







javascript arrays reactjs object ecmascript-6






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 10 at 19:41









André

111




111











  • Can you please provide the code to your whole component code? Also, as an advice, avoid using "let" in your code and instead use "const" to avoid mutating data. Try learning functional programming paradigm which is the best industry practice.
    – xeiton
    Nov 10 at 20:59

















  • Can you please provide the code to your whole component code? Also, as an advice, avoid using "let" in your code and instead use "const" to avoid mutating data. Try learning functional programming paradigm which is the best industry practice.
    – xeiton
    Nov 10 at 20:59
















Can you please provide the code to your whole component code? Also, as an advice, avoid using "let" in your code and instead use "const" to avoid mutating data. Try learning functional programming paradigm which is the best industry practice.
– xeiton
Nov 10 at 20:59





Can you please provide the code to your whole component code? Also, as an advice, avoid using "let" in your code and instead use "const" to avoid mutating data. Try learning functional programming paradigm which is the best industry practice.
– xeiton
Nov 10 at 20:59













2 Answers
2






active

oldest

votes

















up vote
0
down vote













I'm not the first but here is my version with a test



static changeAnswers = (target: name, value, checked) => 
checked
? ...answeredTasks, ... [name]: [...(answeredTasks[name]
:
...answeredTasks,
... [name]: (answeredTasks[name]


checkBoxOnChange = e =>
const answeredTasks = this.state
this.setState(answeredTasks: myComponent.changeAnswers(e))






const answeredTasks = "1": ["green", "blue", "red"] 

const elements = [
name: "1", value: "green", checked: false ,
name: "1", value: "black", checked: true ,
name: "2", value: "lol", checked: true ,
name: "2", value: "lol", checked: false
]

const click = ( name, value, checked ) =>
checked
? ...answeredTasks, ... [name]: [...(answeredTasks[name]
:
...answeredTasks,
... [name]: (answeredTasks[name]


elements.map(element => console.log(click(element)))








share|improve this answer





























    up vote
    0
    down vote













    I preferred I could see your whole code.
    But if I wanted to suggest you any change:



    1. In general, avoid using "let" in your code and instead use "const". This way, you avoid mutating data which is the industry best practice, and React documentation highly recommends that.


    2. Avoid using splice/push/pop methods which mutate data, and instead use array functions such as filter/map/some/every etc... The methods I mentioned do not mutate data and instead return a referencially different object.


    Here is the change you should make:



    checkBoxOnChange = e => 
    const currentAnswers = this.state.answeredTasks;
    const element = e.target;

    const newAnswers = !element.checked ?
    (currentAnswers[element.name] ;


    Please note that the ...currentAnswers, newAnswers inside setState() function is merging the currentAnswers with the new changes in newAnswers. i.e. newAnswers will overwrite the specific object in the outer array.
    This is the Functional way of doing things.






    share|improve this answer






















    • "let" and instead use "const" - it is not important in the case of objects. When you're "mutating" an array or object you're not re-assigning or re-declaring the constant, it's already declared and assigned, you're just adding to the "list" that the constant points to.
      – victor zadorozhnyy
      Nov 10 at 22:04










    • Victor, you are a bit confused. Mutation is NOT re-declaring a new object, and that is exactly why it is bad !! ... Functional programming doesn't like side effects, and doesn't like making the changes to the referentially same object. Immutability means you should referencially create a new object with every new change, which is the industry best practice and ReactJs is highly recommending it.
      – xeiton
      Nov 11 at 22:13











    • Modifying the object/array with methods like splice/pop/push are mutating the object (changing the same object), where as using map/filter/some/every are NOT. They will referentially return a new object/array which is the "pure" way of doing things, and thus recommended by ReactJs.
      – xeiton
      Nov 11 at 22:13










    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53242743%2fhandle-multiple-checkboxes-and-complex-data-structure-reactjs%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    I'm not the first but here is my version with a test



    static changeAnswers = (target: name, value, checked) => 
    checked
    ? ...answeredTasks, ... [name]: [...(answeredTasks[name]
    :
    ...answeredTasks,
    ... [name]: (answeredTasks[name]


    checkBoxOnChange = e =>
    const answeredTasks = this.state
    this.setState(answeredTasks: myComponent.changeAnswers(e))






    const answeredTasks = "1": ["green", "blue", "red"] 

    const elements = [
    name: "1", value: "green", checked: false ,
    name: "1", value: "black", checked: true ,
    name: "2", value: "lol", checked: true ,
    name: "2", value: "lol", checked: false
    ]

    const click = ( name, value, checked ) =>
    checked
    ? ...answeredTasks, ... [name]: [...(answeredTasks[name]
    :
    ...answeredTasks,
    ... [name]: (answeredTasks[name]


    elements.map(element => console.log(click(element)))








    share|improve this answer


























      up vote
      0
      down vote













      I'm not the first but here is my version with a test



      static changeAnswers = (target: name, value, checked) => 
      checked
      ? ...answeredTasks, ... [name]: [...(answeredTasks[name]
      :
      ...answeredTasks,
      ... [name]: (answeredTasks[name]


      checkBoxOnChange = e =>
      const answeredTasks = this.state
      this.setState(answeredTasks: myComponent.changeAnswers(e))






      const answeredTasks = "1": ["green", "blue", "red"] 

      const elements = [
      name: "1", value: "green", checked: false ,
      name: "1", value: "black", checked: true ,
      name: "2", value: "lol", checked: true ,
      name: "2", value: "lol", checked: false
      ]

      const click = ( name, value, checked ) =>
      checked
      ? ...answeredTasks, ... [name]: [...(answeredTasks[name]
      :
      ...answeredTasks,
      ... [name]: (answeredTasks[name]


      elements.map(element => console.log(click(element)))








      share|improve this answer
























        up vote
        0
        down vote










        up vote
        0
        down vote









        I'm not the first but here is my version with a test



        static changeAnswers = (target: name, value, checked) => 
        checked
        ? ...answeredTasks, ... [name]: [...(answeredTasks[name]
        :
        ...answeredTasks,
        ... [name]: (answeredTasks[name]


        checkBoxOnChange = e =>
        const answeredTasks = this.state
        this.setState(answeredTasks: myComponent.changeAnswers(e))






        const answeredTasks = "1": ["green", "blue", "red"] 

        const elements = [
        name: "1", value: "green", checked: false ,
        name: "1", value: "black", checked: true ,
        name: "2", value: "lol", checked: true ,
        name: "2", value: "lol", checked: false
        ]

        const click = ( name, value, checked ) =>
        checked
        ? ...answeredTasks, ... [name]: [...(answeredTasks[name]
        :
        ...answeredTasks,
        ... [name]: (answeredTasks[name]


        elements.map(element => console.log(click(element)))








        share|improve this answer














        I'm not the first but here is my version with a test



        static changeAnswers = (target: name, value, checked) => 
        checked
        ? ...answeredTasks, ... [name]: [...(answeredTasks[name]
        :
        ...answeredTasks,
        ... [name]: (answeredTasks[name]


        checkBoxOnChange = e =>
        const answeredTasks = this.state
        this.setState(answeredTasks: myComponent.changeAnswers(e))






        const answeredTasks = "1": ["green", "blue", "red"] 

        const elements = [
        name: "1", value: "green", checked: false ,
        name: "1", value: "black", checked: true ,
        name: "2", value: "lol", checked: true ,
        name: "2", value: "lol", checked: false
        ]

        const click = ( name, value, checked ) =>
        checked
        ? ...answeredTasks, ... [name]: [...(answeredTasks[name]
        :
        ...answeredTasks,
        ... [name]: (answeredTasks[name]


        elements.map(element => console.log(click(element)))








        const answeredTasks = "1": ["green", "blue", "red"] 

        const elements = [
        name: "1", value: "green", checked: false ,
        name: "1", value: "black", checked: true ,
        name: "2", value: "lol", checked: true ,
        name: "2", value: "lol", checked: false
        ]

        const click = ( name, value, checked ) =>
        checked
        ? ...answeredTasks, ... [name]: [...(answeredTasks[name]
        :
        ...answeredTasks,
        ... [name]: (answeredTasks[name]


        elements.map(element => console.log(click(element)))





        const answeredTasks = "1": ["green", "blue", "red"] 

        const elements = [
        name: "1", value: "green", checked: false ,
        name: "1", value: "black", checked: true ,
        name: "2", value: "lol", checked: true ,
        name: "2", value: "lol", checked: false
        ]

        const click = ( name, value, checked ) =>
        checked
        ? ...answeredTasks, ... [name]: [...(answeredTasks[name]
        :
        ...answeredTasks,
        ... [name]: (answeredTasks[name]


        elements.map(element => console.log(click(element)))






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 10 at 22:41

























        answered Nov 10 at 21:58









        victor zadorozhnyy

        251412




        251412






















            up vote
            0
            down vote













            I preferred I could see your whole code.
            But if I wanted to suggest you any change:



            1. In general, avoid using "let" in your code and instead use "const". This way, you avoid mutating data which is the industry best practice, and React documentation highly recommends that.


            2. Avoid using splice/push/pop methods which mutate data, and instead use array functions such as filter/map/some/every etc... The methods I mentioned do not mutate data and instead return a referencially different object.


            Here is the change you should make:



            checkBoxOnChange = e => 
            const currentAnswers = this.state.answeredTasks;
            const element = e.target;

            const newAnswers = !element.checked ?
            (currentAnswers[element.name] ;


            Please note that the ...currentAnswers, newAnswers inside setState() function is merging the currentAnswers with the new changes in newAnswers. i.e. newAnswers will overwrite the specific object in the outer array.
            This is the Functional way of doing things.






            share|improve this answer






















            • "let" and instead use "const" - it is not important in the case of objects. When you're "mutating" an array or object you're not re-assigning or re-declaring the constant, it's already declared and assigned, you're just adding to the "list" that the constant points to.
              – victor zadorozhnyy
              Nov 10 at 22:04










            • Victor, you are a bit confused. Mutation is NOT re-declaring a new object, and that is exactly why it is bad !! ... Functional programming doesn't like side effects, and doesn't like making the changes to the referentially same object. Immutability means you should referencially create a new object with every new change, which is the industry best practice and ReactJs is highly recommending it.
              – xeiton
              Nov 11 at 22:13











            • Modifying the object/array with methods like splice/pop/push are mutating the object (changing the same object), where as using map/filter/some/every are NOT. They will referentially return a new object/array which is the "pure" way of doing things, and thus recommended by ReactJs.
              – xeiton
              Nov 11 at 22:13














            up vote
            0
            down vote













            I preferred I could see your whole code.
            But if I wanted to suggest you any change:



            1. In general, avoid using "let" in your code and instead use "const". This way, you avoid mutating data which is the industry best practice, and React documentation highly recommends that.


            2. Avoid using splice/push/pop methods which mutate data, and instead use array functions such as filter/map/some/every etc... The methods I mentioned do not mutate data and instead return a referencially different object.


            Here is the change you should make:



            checkBoxOnChange = e => 
            const currentAnswers = this.state.answeredTasks;
            const element = e.target;

            const newAnswers = !element.checked ?
            (currentAnswers[element.name] ;


            Please note that the ...currentAnswers, newAnswers inside setState() function is merging the currentAnswers with the new changes in newAnswers. i.e. newAnswers will overwrite the specific object in the outer array.
            This is the Functional way of doing things.






            share|improve this answer






















            • "let" and instead use "const" - it is not important in the case of objects. When you're "mutating" an array or object you're not re-assigning or re-declaring the constant, it's already declared and assigned, you're just adding to the "list" that the constant points to.
              – victor zadorozhnyy
              Nov 10 at 22:04










            • Victor, you are a bit confused. Mutation is NOT re-declaring a new object, and that is exactly why it is bad !! ... Functional programming doesn't like side effects, and doesn't like making the changes to the referentially same object. Immutability means you should referencially create a new object with every new change, which is the industry best practice and ReactJs is highly recommending it.
              – xeiton
              Nov 11 at 22:13











            • Modifying the object/array with methods like splice/pop/push are mutating the object (changing the same object), where as using map/filter/some/every are NOT. They will referentially return a new object/array which is the "pure" way of doing things, and thus recommended by ReactJs.
              – xeiton
              Nov 11 at 22:13












            up vote
            0
            down vote










            up vote
            0
            down vote









            I preferred I could see your whole code.
            But if I wanted to suggest you any change:



            1. In general, avoid using "let" in your code and instead use "const". This way, you avoid mutating data which is the industry best practice, and React documentation highly recommends that.


            2. Avoid using splice/push/pop methods which mutate data, and instead use array functions such as filter/map/some/every etc... The methods I mentioned do not mutate data and instead return a referencially different object.


            Here is the change you should make:



            checkBoxOnChange = e => 
            const currentAnswers = this.state.answeredTasks;
            const element = e.target;

            const newAnswers = !element.checked ?
            (currentAnswers[element.name] ;


            Please note that the ...currentAnswers, newAnswers inside setState() function is merging the currentAnswers with the new changes in newAnswers. i.e. newAnswers will overwrite the specific object in the outer array.
            This is the Functional way of doing things.






            share|improve this answer














            I preferred I could see your whole code.
            But if I wanted to suggest you any change:



            1. In general, avoid using "let" in your code and instead use "const". This way, you avoid mutating data which is the industry best practice, and React documentation highly recommends that.


            2. Avoid using splice/push/pop methods which mutate data, and instead use array functions such as filter/map/some/every etc... The methods I mentioned do not mutate data and instead return a referencially different object.


            Here is the change you should make:



            checkBoxOnChange = e => 
            const currentAnswers = this.state.answeredTasks;
            const element = e.target;

            const newAnswers = !element.checked ?
            (currentAnswers[element.name] ;


            Please note that the ...currentAnswers, newAnswers inside setState() function is merging the currentAnswers with the new changes in newAnswers. i.e. newAnswers will overwrite the specific object in the outer array.
            This is the Functional way of doing things.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 12 at 2:11









            Pang

            6,8031563101




            6,8031563101










            answered Nov 10 at 21:15









            xeiton

            2216




            2216











            • "let" and instead use "const" - it is not important in the case of objects. When you're "mutating" an array or object you're not re-assigning or re-declaring the constant, it's already declared and assigned, you're just adding to the "list" that the constant points to.
              – victor zadorozhnyy
              Nov 10 at 22:04










            • Victor, you are a bit confused. Mutation is NOT re-declaring a new object, and that is exactly why it is bad !! ... Functional programming doesn't like side effects, and doesn't like making the changes to the referentially same object. Immutability means you should referencially create a new object with every new change, which is the industry best practice and ReactJs is highly recommending it.
              – xeiton
              Nov 11 at 22:13











            • Modifying the object/array with methods like splice/pop/push are mutating the object (changing the same object), where as using map/filter/some/every are NOT. They will referentially return a new object/array which is the "pure" way of doing things, and thus recommended by ReactJs.
              – xeiton
              Nov 11 at 22:13
















            • "let" and instead use "const" - it is not important in the case of objects. When you're "mutating" an array or object you're not re-assigning or re-declaring the constant, it's already declared and assigned, you're just adding to the "list" that the constant points to.
              – victor zadorozhnyy
              Nov 10 at 22:04










            • Victor, you are a bit confused. Mutation is NOT re-declaring a new object, and that is exactly why it is bad !! ... Functional programming doesn't like side effects, and doesn't like making the changes to the referentially same object. Immutability means you should referencially create a new object with every new change, which is the industry best practice and ReactJs is highly recommending it.
              – xeiton
              Nov 11 at 22:13











            • Modifying the object/array with methods like splice/pop/push are mutating the object (changing the same object), where as using map/filter/some/every are NOT. They will referentially return a new object/array which is the "pure" way of doing things, and thus recommended by ReactJs.
              – xeiton
              Nov 11 at 22:13















            "let" and instead use "const" - it is not important in the case of objects. When you're "mutating" an array or object you're not re-assigning or re-declaring the constant, it's already declared and assigned, you're just adding to the "list" that the constant points to.
            – victor zadorozhnyy
            Nov 10 at 22:04




            "let" and instead use "const" - it is not important in the case of objects. When you're "mutating" an array or object you're not re-assigning or re-declaring the constant, it's already declared and assigned, you're just adding to the "list" that the constant points to.
            – victor zadorozhnyy
            Nov 10 at 22:04












            Victor, you are a bit confused. Mutation is NOT re-declaring a new object, and that is exactly why it is bad !! ... Functional programming doesn't like side effects, and doesn't like making the changes to the referentially same object. Immutability means you should referencially create a new object with every new change, which is the industry best practice and ReactJs is highly recommending it.
            – xeiton
            Nov 11 at 22:13





            Victor, you are a bit confused. Mutation is NOT re-declaring a new object, and that is exactly why it is bad !! ... Functional programming doesn't like side effects, and doesn't like making the changes to the referentially same object. Immutability means you should referencially create a new object with every new change, which is the industry best practice and ReactJs is highly recommending it.
            – xeiton
            Nov 11 at 22:13













            Modifying the object/array with methods like splice/pop/push are mutating the object (changing the same object), where as using map/filter/some/every are NOT. They will referentially return a new object/array which is the "pure" way of doing things, and thus recommended by ReactJs.
            – xeiton
            Nov 11 at 22:13




            Modifying the object/array with methods like splice/pop/push are mutating the object (changing the same object), where as using map/filter/some/every are NOT. They will referentially return a new object/array which is the "pure" way of doing things, and thus recommended by ReactJs.
            – xeiton
            Nov 11 at 22:13

















             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53242743%2fhandle-multiple-checkboxes-and-complex-data-structure-reactjs%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            Barbados

            How to read a connectionString WITH PROVIDER in .NET Core?

            Node.js Script on GitHub Pages or Amazon S3