We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Modern React - Hooks/Suspense

Thread ID:





142135 Jan 21,2019 06:45 PM UTC Sep 11,2019 12:03 PM UTC React - EJ 2 4
Tags: DashboardLayout
Ralf Haug
Asked On January 21, 2019 06:45 PM UTC

We plan on writing a modern React application and would like to leverage Syncfusion Web.
By modern I specifically refer to React Hooks -https://reactjs.org/docs/hooks-intro.html - and React Suspense -https://reactjs.org/docs/react-api.html#reactsuspense.
I understand that Syncfusion may not have support for it today yet, but will it architecturally be able to support it?

Jayakumar Duraisamy [Syncfusion]
Replied On January 22, 2019 01:07 PM UTC

Hi Ralf, 
Greetings from Syncfusion. 
Query 1: React Hooks 
We are analyzing the [“React Hooks”] requirement, we will update you the further details in two business days. 
Query 2: React Suspense  
Yes, our EJ2 component support for React Suspense architecture. 
Please let us know if you need further assistance on this.  
Jayakumar D 

Jayakumar Duraisamy [Syncfusion]
Replied On January 24, 2019 11:09 AM UTC

Hi Ralf, 

Please find the response for Query 1. 

React hooks are entirely different architecture that differs from the existing component based architecture and also not all the hooks in component life cycle are not implemented in the react hooks yet. However react team have ensured 
the backward compatibility in their article, our React components can be used with the hooks. 

Please let us know, if you need further assistance on this 

Jayakumar D 

Nikunj Panchal
Replied On September 10, 2019 11:59 PM UTC

Are React Hooks supported with Syncfusion React Dashboard layout?

Ashokkumar Balasubramanian [Syncfusion]
Replied On September 11, 2019 12:03 PM UTC

Hello Ralf, 
Yes, react hooks is supported for Syncfusion Dashboard layout component. We have prepared a simple sample using react hooks and attached below for your reference. In this sample, we have performed the increment and decrement operation using react hooks in a button click which is rendered inside the dashboard layout component. 
Refer to the below sample link. 
Please let us know, if you require any further assistance. 
Ashokkumar B. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon