SharePoint Saturday Kansas City October 19, 2019

Slides:



Advertisements
Similar presentations
React. A library for creating user interfaces. React Renders your UI and responds to events.
Advertisements

@lestersconyers #spsevents #spsphx SPS EVENTS PHX SharePoint and Angular Sitting in a Tree… LESTER SCONYERS.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Introduction to Silverlight. Slide 2 What is Silverlight? It’s part of a Microsoft Web platform called Rich Internet Applications (RIA) There is a service.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
Sustainable SharePoint 2010 Customizations By Bill Keys.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
JavaScript, jQuery, and Mashups Incorporating JavaScript, jQuery, and other Mashups into existing pages.
Getting Started with ASP.NET MVC BRIJ BHUSHAN MISHRA.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
Getting started with ASP.NET MVC Dhananjay
Javascript Overview. What is Javascript? May be one of the most popular programming languages ever Runs in the browser, not on the server All modern browsers.
Update: Office & SharePoint Development Feb 2016.
05 | Integrating JavaScript and MVC 4 Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Olmo de Corral Signum Framework Developer #olmocc React.
Wes Preston DEV 202. Audience: Info Workers, Dev A deeper dive into use-cases where client-side rendering (CSR) and SharePoint’s JS Link property can.
Office UI Fabric INTRO. The Pitch The pitch Looks amazing!
Spice up Your Forms and Views
Advanced Topics in Concurrency and Reactive Programming: React
Section 10.1 Define scripting
Ramping Up On The SharePoint Framework (SPFx)
From SharePoint to Office 365 Development
Introduction to.
Build Client-side web parts for Microsoft SharePoint
Angular vs React John
Spice up Your Forms and Views
Building Desktop Apps with Node.js and Electron
SharePoint + CRM Saturday Zurich 2017
Branding Without MasterPages, the Future of UX in SharePoint Online
Create beautiful, fast, interactive pages in SharePoint
What's new in the world of SharePoint development and deployment
Creating Lightning Fast Apps Using AngularJS
5/29/2018 1:32 PM Office UI Fabric behind the scenes: Open source Design & Engineering in Office Peter Jahn Senior UX Engineering Manager OneDrive & SharePoint.
Development of Internet Applications jQuery, TypeScript, LESS
Use Office UI Fabric React to Build Beauty with SharePoint
The Transition to Modern Office Add-in Development
Presented by Kenny Duenke and Patrick Witbrod
Use Office UI Fabric React to Build Beauty with SharePoint
Creating and Deploying Your First SharePoint Framework Application
Not Sure how you Should React
Karina Martinez Jessica Palacios Bryan Bravo Miguel Cayetano
Introduction to Silverlight
Introduction to SharePoint Framework (SPFx)
AngularJS and SharePoint 2013: Lessons Learned from the Trenches
Angularjs Interview Questions and Answers By Hope Tutors.
SPA Revolution with WebAssembly and Blazor Rainer Stropek | software
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Creating and Deploying Your First SharePoint Framework Application
Spice up Your Forms and Views
Advanced Topics in Concurrency and Reactive Programming: React
SPA Revolution with WebAssembly and Blazor Rainer Stropek | software
Modern web applications
Introduction to SharePoint Framework
15 minute break.
All About Office UI Fabric
Creating Lightning Fast Apps Using AngularJS
Modern web applications
The SharePoint framework
Build data-driven collection and list apps using ListView in HTML5
Getting started with SharePoint Framework
Training & Development
Creating Lightning Fast Apps Using AngularJS
11.1 Applets & graphics.
Innovation Co-Lab roots/React
Web Client Side Technologies Raneem Qaddoura
Build’an’Office add-in- using’modern JavaScript tools and techniques
Blazor A new framework for browser-based .NET apps Ryan Nowak
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Welcome to SharePoint/O365 Saturday Kansas City!.
Create Your First React Application
Presentation transcript:

SharePoint Saturday Kansas City October 19, 2019 Not Sure How to React SharePoint Saturday Kansas City October 19, 2019 Presented By Ryan Schouten Code and Slides http://bit.ly/SPReactDemo

Welcome to SharePoint/O365 Saturday Kansas City!

Thank you SPONSORS! Diamond Gold Web & Prize

2nd Monday of every month KC O365 User Group 2nd Monday of every month Water One in Lenexa, KS https://kco365.wordpress.com Next Meeting: 11/11/2019 Microsoft Teams 101 Sharon Weaver

11924 W 119th St Overland Park, KS 66213

Ryan Schouten About Me Worked with SharePoint for > 12 years I have experience with SharePoint 2003 – 2019 I have worked with ASP.Net for 15 years Microsoft MVP – Office Apps and Services http://www.sharepointknight.com

Build Process & Tooling Code Editors Gulp-based Build Process NodeJS/NPM SystemJS Webpack TypeScript Build Process & Tooling Visual Studio Code Atom Sublime and more … your choice! Code Editors

Re-Render, Don’t Mutate React Key Components Build Components Re-Render, Don’t Mutate Fast Virtual DOM 8

9 Small, reusable widgets of your application REACT Components Small, reusable widgets of your application UI layout and the UI logic are tightly coupled Can be individual or have a parent/child relationship Use state for storing data within the component Use props to pass data and events to a child component 9

1010 Need to reference the React libraries React React-dom React Basics Need to reference the React libraries React React-dom Your markup is returned from the render method 1010

11 Added as part of your jsx or tsx Markup in React Added as part of your jsx or tsx Per XHTML standard, React assumes lowercase tags are default html Your components are added as mixed case tags 11

Demo

Props State 1313 Using props to pass data to your components Props and State Props Using props to pass data to your components Props are read-only State State allows us to receive/work with changeable data Set initial state in constructor Do not update directly use setState Updates are merged 1313

compononentWillUnmount() Lifecycle constructor() Used to set initial state Best Practice don’t load external data here componentDidMount() Used to setup component and load external data compononentWillUnmount() Used for clean up 1414

15 Events we add to our markup are not the standard HTML events DOM Events Events we add to our markup are not the standard HTML events Events are camelCased not lowercased like HTML onclick vs onClick You pass in the function to the event handler not a string 15

Conditional Rendering Several methods Store element as variable Null elements will not be loaded Inline if Must use following syntax Condition && <element> Ternary operator (condition)?<element1 />:<element2 /> 16

Use the JavaScript map command Lists of Items Use the JavaScript map command Object.map((item) => { return <element /> }) Make sure you add a key attribute to help React with rendering and handling changes Object.map((item) => { return <element key={item.ID} /> }) Keys must be unique among siblings 17

18 Use onChange event to get the changed values Forms and Output Use onChange event to get the changed values Output content using {} 18

19 Load external resources in your HTML file React and SharePoint Load external resources in your HTML file Load HTML file in content editor Use the SP-PNP-JS library for working with SharePoint data 19

Break things into reusable components Thinking in React Break things into reusable components

Demo 21

Front end experiences for SharePoint Powers OOB experiences Office UI Fabric Fonts, icons Colors Components Front end experiences for SharePoint Powers OOB experiences Available out of the box Design web part seamlessly Office UI Fabric React for rich set of reusable controls 22

Fabric and its sub-projects Fabric Core Core elements of the design language including icons, colors, type, and the grid Fabric React Robust, up-to-date components built with the React framework. Fabric JS Simple, visuals- focused components that you can extend, rework, and build on. ngFabric Community-driven project to build components for Angular-based apps. Fabric iOS Native Swift colors, type ramp, and components for building iOS apps. 23

Demo 24

Questions 25

Thank You www.sharepointknight.com @shrpntknight ryan@sharepointknight.com