Script
Script
RReactiflux
Created by Script on 1/14/2023 in #help-js
Script – 11-40 Jan 14
2 replies
RReactiflux
Created by Script on 12/11/2022 in #help-js
✅ – Script – 21-27 Dec 11
answer:
const gig = await Gig.findById(req.gigId).populate({
path: "proposals",
populate: { path: "freelancerId", model: "User" },
});
const gig = await Gig.findById(req.gigId).populate({
path: "proposals",
populate: { path: "freelancerId", model: "User" },
});
4 replies
RReactiflux
Created by Script on 12/1/2022 in #help-js
✅ – Script – 13-00 Dec 1
thanks
16 replies
RReactiflux
Created by Script on 12/1/2022 in #help-js
✅ – Script – 13-00 Dec 1
that makes sense
16 replies
RReactiflux
Created by Script on 12/1/2022 in #help-js
✅ – Script – 13-00 Dec 1
oh same way with useState so it doesnt matter what i name the first and second index, the first would always be the state variable then the second would always be what changes the state variable
16 replies
RReactiflux
Created by Script on 12/1/2022 in #help-js
✅ – Script – 13-00 Dec 1
oh but how does it work tho I tried testing it by creating a function to return an array ["response", "jason"] then I did const ["jason"] = function();` then console logged it and it kept on returning "response"
16 replies
RReactiflux
Created by Script on 11/20/2022 in #help-js
✅ – Script – 17-21 Nov 20
oh an error is been thrown in my case though
8 replies
RReactiflux
Created by Script on 11/20/2022 in #help-js
✅ – Script – 17-21 Nov 20
that makes sense
8 replies
RReactiflux
Created by Script on 11/19/2022 in #help-js
✅ – Script – 21-40 Nov 19
word
6 replies
RReactiflux
Created by Script on 11/13/2022 in #help-js
✅ – Script – 23-48 Nov 13
i'll parse it on my backend thanks jstn
11 replies
RReactiflux
Created by Script on 11/13/2022 in #help-js
✅ – Script – 23-48 Nov 13
nice that works
11 replies
RReactiflux
Created by Script on 11/13/2022 in #help-js
✅ – Script – 23-48 Nov 13
that makes sense
11 replies