codedamn

Proxy

Created by Piyush Garg about a year ago

0

No description provided

6 Comments

    0

    So its like a dispatcher as in useReducer where you cant directly change the state but can use a reducer to change the state

    @psh

    piyush panpaliya

    @psh

    1

    Can you please explain some practical case where Proxy pattern will be needed or you yourself have implemented while working on some project?? That would be explain the topic more. Getting the concept and standing out thing is all good. I want some scenario where I can actually relate. Let me know if I am wrong somewhere. Thanks

    1

    A request can you use dark mode in Excalidraw? I study at night and light mode puts a strain on my eyes

    @puneetsingh99

    Puneet Singh

    @puneetsingh99

    0

    how can i change the value of personProxy.name tried like this gives error

    <button onClick={(e) => { personProxy.name='gaurav'; setState((s) => s + 1); }} > Change </button>

    @gauravbisht

    Gaurav Bisht

    @gauravbisht

    1

    Nicely Explained....🚀

    @ankushladani

    Ankush Ladani

    @ankushladani

    0

    Line 41:13: 'setState' is not defined no-undef , how do I get rid of this error ?

    @ravish64848831

    RAVI SHARMA

    @ravish64848831

Your comment