GithubHelp home page GithubHelp logo

My wish list about pnp-js-core HOT 8 CLOSED

sharepoint avatar sharepoint commented on June 11, 2024
My wish list

from pnp-js-core.

Comments (8)

SPDoctor avatar SPDoctor commented on June 11, 2024 1

Got to say I am a bit of a fan of React as well, but I think this project should be at a lower level in the stack. This was one of the problems I had with the original version of the ADAL.js library - it was intertwined with Angular 1, which is great if you happen to be using Angular 1. If you just want to figure out the five lines of code you need to get a token and you happen not to be a regular user of Angular then you are going to have to find those five lines embedded and scattered around an unfamiliar framework. They fixed that by separating into two libraries, but I think it is better to start off separate - then maybe have sample code using Angular 1,2, React, etc. Same with Fabric.

from pnp-js-core.

sympmarc avatar sympmarc commented on June 11, 2024 1

+100 to @SPDoctor. Frameworks are great when you're at the UI level, but this library should be as basic as it can be to get the job done.

from pnp-js-core.

sympmarc avatar sympmarc commented on June 11, 2024

It was a great list, though!

from pnp-js-core.

dzearing avatar dzearing commented on June 11, 2024

+1

from pnp-js-core.

mike-morr avatar mike-morr commented on June 11, 2024

Sorry for taking it down. I tried to get it as close to original from an old draft.

from pnp-js-core.

 avatar commented on June 11, 2024

@mike-morrison, lots of cool ideas in here - I'm building the search APi at the moment & will certainly take on board what you said regarding the response data, since it's quite unfriendly by default.

React

At the moment, the library is, I believe looking to be agnostic of technology as it builds the core services. As focus shifts once the v1 milestone has been reached, I'm almost certain examples will come about which make use of other technologies

Finally, regarding React Fabric components, not sure that would be the intention at least in this SIG, there's already a separate Angular 1 project for Fabric over at ngOfficeUIFabric.

These are just my thoughts of course, @patrick-rodgers is doing a great job of heading this up and may be able to provide more input.

from pnp-js-core.

mike-morr avatar mike-morr commented on June 11, 2024

@tobiaswest83 I agree. The React Fabric components in my head are in a project built using this project. At most in this project it would just be as a technology specific quick start or example.

IMO, PnP should be as technology agnostic as possible.

That Angular 1 project is pretty much what I would love to have except with React.

from pnp-js-core.

patrick-rodgers avatar patrick-rodgers commented on June 11, 2024

This is a great conversation and want to keep it going - so have moved it to a Yammer Thread.

The reason being this isn't an issue we can close/resolve. Fantastic list and want to keep these things in mind for sure.

from pnp-js-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.