Posts

Showing posts from May, 2013

React and SPFx Interview Questions with Scenarios and Code Examples

Introduction React and SharePoint Framework (SPFx) are popular technologies used in modern web development, especially for building user interfaces and custom web parts in SharePoint. Preparing for interviews involving these technologies requires a solid understanding of core concepts, practical scenarios, and coding proficiency. In this blog, we’ll cover essential interview questions, different scenarios, and code examples to help you ace your React and SPFx interviews. Section 1: React Interview Questions 1. What is the Virtual DOM, and how does it improve performance in React? Scenario: Imagine you’re building a dashboard with multiple widgets that update frequently. How would React's Virtual DOM help optimize performance in this case? Explanation: React uses a Virtual DOM, an in-memory representation of the real DOM. When the state of an element changes, React updates the Virtual DOM first. It then calculates the difference (diffing) between the previous and current states of

SharePoint Interview Questions and Answers: WebPart

Image
SharePoint Interview Questions and Answers: WebPart Webparts in SharePoint? Difference between .webparts and .dwp? Difference between asp.net webparts and SharePoint webparts? Webpart life cycle? Difference web parts visual web parts and traditional web part? Webpart maintenance page? Main webpart base classes? A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe.” How to ensure user controls (.ascx) in webpart. I mean in which method the user controls defines? Out of box web parts in SharePoint? Add Web Part inside a Master Page in SharePoint 2010? Migrate webparts that are developed in SharePoint 2007 into SharePoint 2010? Difference between user control and webpart? Connectable webparts in SharePoint? I have created one webpart and added that in a page. Because of that webpart I am not able to open my page. So I want to delete that webpart from the page. How can I delete it? Can visual webparts have