Spfx difference between no javaScript and react and knockout

daryush salahshur 136 Reputation points
2021-11-11T09:47:03.713+00:00

Hi,
After a week, I finally managed to start SPFX in SharePoint 2019.

I used app in list and it is ok.
Now I have a the question. I don't know what is no javaScript and what is react.

I do not know what the difference is in the no javaScript and react and Knockout
Can anybody tell me what is difference?

Can I use javeScript in no javaScript? I prefer to use JavaScript because I know this language and do not want to enter a new language like React

Best Regards,
Daryush

Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

Accepted answer
  1. daryush salahshur 136 Reputation points
    2021-11-11T20:32:22.11+00:00

    Thanks for your reply

    Could you pls. tell me:

    What do you think if I learn react and use benefit of this libraries

    Is it correct that react or knockout are someting like jquery which is created base on js?

    Best Regards
    Daryush

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Gaurav Sharma 6 Reputation points
    2021-11-11T13:31:28.14+00:00

    JavaScript frameworks are nothing but an abstraction layer on top of plain JavaScript that eases your web development experience. React and Knockout are some of these frameworks. It is not mandatory to use JavaScript framework for development using SPFx. Selecting 'No JavaScript Framework' at the time of project creation does not add extra libraries for React or Knockout in your project. You can still use plain JavaScirpt for development in SPFx when 'No JavaScript Framework' is selected.

    1 person found this answer helpful.
    0 comments No comments

  2. RaytheonXie_MSFT 40,471 Reputation points Microsoft External Staff
    2021-11-12T02:34:41.237+00:00

    Hi @daryush salahshur ,
    React and Knockout are both JavaScript library for building user interfaces.
    I would recommend React since React makes it painless to create interactive UIs.
    React is extremely intuitive to work with and provides interactivity to the layout of any UI. Plus, it enables fast and quality assured application development that in turn saves tome for both - clients and developers.
    A strong blend of JavaScript and HTML syntax is always used, which automatically simplifies the entire process of writing code for the planned project. The JS library consists several functions including one that converts the HTML components into required functions and transforms the entire project so that it is easy to understand.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.