DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Coding
  3. Frameworks
  4. Sencha Releases ExtReact, Bringing Their Custom Components to the React Framework [Audio]

Sencha Releases ExtReact, Bringing Their Custom Components to the React Framework [Audio]

Learn about Sencha's ExtReact, making cross-platform desktop and mobile components available for the React framework, in this interview.

Chris Ward user avatar by
Chris Ward
CORE ·
Sep. 18, 17 · News
Like (2)
Save
Tweet
Share
3.19K Views

Join the DZone community and get the full member experience.

Join For Free

Sencha’s ExtJS is a venerable web framework for creating data heavy cross-platform desktop and mobile components ideal for enterprise applications. Originally conceived way back in 2007, in times when JavaScript was less advanced than it is now, the team added concepts such as classes and objects to JavaScript, and made ExtJS self-contained, requiring no dependencies. This does lead to somewhat different looking code from ‘vanilla’ JavaScript, for example:

Ext.define('PopupFormController',{
    extend:'Ext.app.ViewController',
    alias:'controller.popupform',

cancelUpdate:function(){
var view =this.getView(),
            record =view.getRecord();

view.destroy();
record.reject();
},

submitUpdate:function(me){
var view =this.getView(),
    record =view.getRecord();

view.destroy();
record.commit();
}
});

But honestly, this looks less unusual now than it did when I first encountered ExtJS.

Sencha announced their new product, ExtReact in May of 2017, making the same components available for the popular React framework, and in many ways, the code makes more sense in React:

importReact,{Component}from'react';
import{Container,Picker,Button}from'@extjs/ext-react';

exportdefaultclassMyExampleextendsComponent{

showPicker=()=>this.picker.show();

render(){
return(
<Container>
<Button ui="action" handler={this.showPicker} text="Show Picker"/>
<Picker
    ref={picker=>this.picker= picker}
    slots={[
{
    name:'limit_speed',
        title:'Speed',
        data:[
{text:'50 KB/s', value:50},
{text:'100 KB/s', value:100},
{text:'200 KB/s', value:200},
{text:'300 KB/s', value:300}
]
}
]}
/>
</Container>
)
}
}

In the interview below, I speak with Mark Brocato of Sencha about ExtReact, the companies’ journey so far, and what it’s like to create a cross-platform framework.

Framework React (JavaScript library)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • A Real-Time Supply Chain Control Tower Powered by Kafka
  • Why Does DevOps Recommend Shift-Left Testing Principles?
  • Upgrade Guide To Spring Data Elasticsearch 5.0
  • Using JSON Web Encryption (JWE)

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: