JavaScript Concepts To Learn Before Building LWC | Lightning Web Component Part 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 มี.ค. 2020
  • In this tutorial, you will learn the JavaScript concepts that are required to play with the lightning web component. I am covering the following topics in this session
    1. null vs undefined
    2. var, let and const
    3. Arrow function
    4. Why Avoid mutable method like push(), pop(), splice()
    5. Spread operator
    6. Destructuring
    7. String Interpolation
    8. Modules import and export
    9. Promise, async and await
    10. Query selector
    11. Fetch API
    12. Array helper function (each, map, filter, find, every, some)
    These concepts are very helpful in Lightning Web Components
    LINKS USED IN THIS VIDEO
    ======================
    LWC Playground - developer.salesforce.com/docs...
    GITHUB CODE - gist.github.com/karkranikhil/...
    FOR COOL STUFF OF LIGHTNING WEB COMPONENT
    salesforcetroop.com/
    FOLLOW ME -
    FACEBOOK - / salesforcetroop
    LINKEDIN - / salesforce-troop
    TWITTER - @karkra_nikhil
    This is especially for all the students and IT professional who wants to make their career in Salesforce.
    PLEASE DO LIKE, SHARE AND SUBSCRIBE THIS VIDEO WITH ALL YOUR STUDENT NETWORK, IT NETWORK AND SALESFORCE NETWORK.
    Let everyone learn Salesforce and become a part of our #Ohana.

ความคิดเห็น • 41

  • @steakcraftsman
    @steakcraftsman 4 ปีที่แล้ว

    Great content! I especially encountered the undefined/null issue when starting out with LWC

  • @guilhermedias5239
    @guilhermedias5239 2 ปีที่แล้ว +1

    Awsome content, easy to follow and you cover some important topics

  • @swigidi2029
    @swigidi2029 4 ปีที่แล้ว

    Thank you for this overview

  • @rameshgoud4970
    @rameshgoud4970 4 ปีที่แล้ว

    Able to understand easily..Thank You Nikhil.

  • @diysave1136
    @diysave1136 ปีที่แล้ว

    most useful video! Thank you for the video

  • @Cyrus_Michael
    @Cyrus_Michael ปีที่แล้ว

    Thanks for the great lesson

  • @kushaljain1229
    @kushaljain1229 4 ปีที่แล้ว +1

    Hi Nikhil,
    Content of your videos is very good and well managed.

  • @Abhishekkumar-pi9mu
    @Abhishekkumar-pi9mu ปีที่แล้ว

    Very helpful

  • @hanyelazery9997
    @hanyelazery9997 9 หลายเดือนก่อน

    thank you!

  • @sayan051290
    @sayan051290 3 ปีที่แล้ว

    must watch video, to build good core js concepts

  • @starman9000
    @starman9000 2 ปีที่แล้ว

    Hey Nikhil, Good content, I have viewed this 1.5x spead.

  • @sharathsfdc2029
    @sharathsfdc2029 2 ปีที่แล้ว

    Hey Nikhil thank you for the wonderful session.
    BUt I;m not able to see playground tab in component-library, how to get that??

  • @saurabhsood007
    @saurabhsood007 3 ปีที่แล้ว +1

    Awesome vides BTW Nikhil.
    If you don't mind can you share ppt?

  • @IncredibleInside
    @IncredibleInside 4 ปีที่แล้ว

    Is there any particular scenario where we have to use reduce and there is no alternative or reduce is the best arrayemthod to use and using others will become complicated

    • @salesforcetroop
      @salesforcetroop  4 ปีที่แล้ว

      Reduce method always rescues us when we have to Flatten the nested object or grouping of the same data in an array/object.

  • @prasannavarma5182
    @prasannavarma5182 2 ปีที่แล้ว

    how do we get play ground option

  • @madhanmohan6649
    @madhanmohan6649 4 ปีที่แล้ว +1

    Could you please let me know how to slice using the spread operator ?

    • @salesforcetroop
      @salesforcetroop  4 ปีที่แล้ว

      We generally not prefer to combine slice with a spread. Because slice itself generates the new copy without changing the existing copy. We only avoid the splice method.
      The best approach to remove the element from array is use filter or map

  • @sharma93anks
    @sharma93anks 3 ปีที่แล้ว

    hi @salesforce troop,, i am just starting with lightning part.. and just wanted to know whether i should learn LWC or Aura??also want to know with job view point also which should i choose? and if LWC then could i be able to build same functionality which can be done by aura?

    • @salesforcetroop
      @salesforcetroop  3 ปีที่แล้ว +2

      Go with lwc 98% usecase you can cover with lwc. That's the future

    • @sharma93anks
      @sharma93anks 3 ปีที่แล้ว

      @@salesforcetroop thankyou 😇

  • @surajthapliyal3214
    @surajthapliyal3214 3 ปีที่แล้ว

    Hi Nikhil, Can we add object to array using spread operator ?

    • @salesforcetroop
      @salesforcetroop  3 ปีที่แล้ว +2

      const x = []
      const y ={"name" :"nikhil"}
      const z =[{...y}]

  • @aasthab7524
    @aasthab7524 2 ปีที่แล้ว

    Hello Sir, I am new to salesforce and have no knowledge of javascript. I am trying to learn aura but finding it extremely difficult. So i have 2 questions:
    1) will this video of yours be enough to learn javascript?
    2) should i directly go for lwc rather than aura because anyways i have to start from scratch?
    I would really appreciate if you could clear this doubt.
    Thank you in advance

    • @salesforcetroop
      @salesforcetroop  2 ปีที่แล้ว

      It's enough to get started with lwc.... JavaScript is very big and lwc need fundamental knowledge. I would recommend you to learn lwc directly because all new projects are using lwc. Only maintenance project is using aura.

  • @kep5358
    @kep5358 3 ปีที่แล้ว

    Very Helpful Content. Thanks! May I know where can I find the document?

  • @pavandkbose
    @pavandkbose 3 ปีที่แล้ว

    hi sir,i have a doubt i don't know anything about javascript so is it ok to just learn from this playlist or do need i to go for your other playlist which is javascript for certification?

    • @salesforcetroop
      @salesforcetroop  3 ปีที่แล้ว +2

      If you want to learn JS for lwc this video is enough but if you are targeting the JS certification then go for
      th-cam.com/play/PLSWzWO4OqYAqQ8i16aIMakTW7InVuMTZF.html

  • @Vidyasagar-fz5pc
    @Vidyasagar-fz5pc 3 ปีที่แล้ว +1

    can I have these ppts

  • @ruhishabreen4295
    @ruhishabreen4295 3 ปีที่แล้ว

    Can anybody post the link of this playlist?I am unable to find part 1 and part 2
    Thanks in advance

    • @salesforcetroop
      @salesforcetroop  3 ปีที่แล้ว +1

      th-cam.com/play/PLSWzWO4OqYAoXiLpNOYcctXdoAwcxJynH.html

    • @ruhishabreen4295
      @ruhishabreen4295 3 ปีที่แล้ว

      @@salesforcetroop Thank you :)

  • @salaarraizami6527
    @salaarraizami6527 ปีที่แล้ว

    Heloo sir how to purchase your udemy lwc course is there some link then share

  • @IncredibleInside
    @IncredibleInside 4 ปีที่แล้ว

    Hi sir,
    The usage of spread operator for obj 4 does not seem to work and getting error like declaration or statement expected.....
    the gthub src doesn't have the obj4 syntax as well....could you please put the syntax here or update the GitHub repository sir.
    Regards,
    Siddhartha

    • @salesforcetroop
      @salesforcetroop  4 ปีที่แล้ว

      Can you show me your code on which Object spread is not working?

    • @salesforcetroop
      @salesforcetroop  4 ปีที่แล้ว

      Combining Objects
      let obj1 = {"name":"Salesforce","age":23}
      let obj2 = {"name":"troop","age":21}
      let obj3 = {...obj1, ...obj2}

    • @salesforcetroop
      @salesforcetroop  4 ปีที่แล้ว

      In this example, obj2 will override the obj1 because the key's names are the same.

  • @abhishekkhosla3186
    @abhishekkhosla3186 4 ปีที่แล้ว

    Hi Can you please share the PPT Copy

    • @salesforcetroop
      @salesforcetroop  4 ปีที่แล้ว

      Sorry, I can't you can ask me if you have any doubt.

  • @sandipbhosale1634
    @sandipbhosale1634 2 ปีที่แล้ว

    now playground is retired where to practise