5

I am getting started with spfx and i have no prior knowledge of angularjs/angular.

Recently i saw a blog post that says to use angular element to develop webpart.

Can you guys please guide me on how to really get into spfx development meaning should i learn typescript first then move to angular 6 then start spfx.

Is there anything more i need to learn like sass,office UI.

5

I suggest you to start with react, instead of angular, for a few reasons:

  • react is very well supported in SPFX
  • react today (as of Sept, 2018) is the most popular library for building web interfaces (and mobile as well, which is a big thing). That means, that you will easily find a lot of samples, ready-to-use control and components over the internet or GitHub
  • there are tons of examples on github for SPFX, 90% of them react-based
  • office UI fabric was written in react
  • there are property pane controls and reusable spfx controls in react
  • angular element in SPFx is more like an experiment, without many docs, there might be a nightmare to solve all possible issues you might have during development

For the plan, I would suggest you start with react and Typescript, then go to SPFx and learn Office ui fabric as well.

  • If there any course series that i can use to learn react and spfx beside youtube and pluralsight courses. Sergei Sergeev – Keshav Taurah Sep 5 '18 at 10:45
  • I really recommend this one on react from udemy. I completed it some time ago and found it really helpful. They usually have discounts and the average price is about 10-15$. For SPFx there is only one comprehensive course from Andrew Connel - Mastering SPFx, which is more expensive - around 300$ – Sergei Sergeev Sep 5 '18 at 11:59
1

I would suggest you start with SPFX(no javascript framework).

Then check out the examples at GitHub samples (Only the ones starting with js-...)

Once you are confident with js examples, then start with Basic Angular Example

Then, at last, the examples at Github

If you are planning to use office ui fabric, then you should get started with react not angular.

Hope it helps.

0

You could simply follow the SPFX Guidence here:

Build your first SharePoint client-side web part (Hello World part 1)

Try to build the first SPFX Web Part with no JavaScript framework and then check SPFX Demos from GitHub:

Code samples and developer content targeted towards SharePoint Framework client-side web parts.

After you are familiar with SPFX Web Part Process, then learn about Typerscript, Angular Js deeply, it will be better.

  • i did follow the Hello world tutorial but what to do next is what i want to know. If i learn angular which version we are talking here 1 or 5+ . – Keshav Taurah Sep 5 '18 at 10:41
  • why angular and not react? – Keshav Taurah Sep 5 '18 at 10:46
  • just my 20 cents. Don't invest time in learning Angular 1.x (aka Angularjs). That's an old version, has some performance issues. Today only React or Angular 5+ are valid in the market. And probably vuejs, which is a bit less popular. – Sergei Sergeev Sep 5 '18 at 12:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.