Course Number: MBL-234
Duration: 2 days (13 hours)
Format: Live, hands-on

Kotlin for JavaScript Training Overview

This private, online Kotlin for JavaScript training teaches attendees how to how to use Kotlin to leverage JavaScript libraries and frameworks as well as Kotlin multi-platform libraries. In addition, participants learn how to write Kotlin wrappers around existing JavaScript code as well as auto-generate library wrappers from TypeScript type definition files. 

Location and Pricing

This course is taught as a private, live online class for teams of 3 or more. All our courses are hands-on, instructor-led, and tailored to fit your group’s goals and needs. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for online corporate training, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand where Kotlin/JS fits in the ecosystem
  • Use Kotlin to create front-end apps via React
  • Simultaneously leverage JavaScript (NPM) and Kotlin libraries
  • Interoperate with native JavaScript
  • Write Kotlin wrappers

Prerequisites

All attendees must already be comfortable with both Kotlin and React development. If your team is not up to speed on these technologies, Accelebrate's Kotlin and React courses can be incorporated to create a customized Kotin with JavaScript course.

Outline

Expand All | Collapse All

Introduction to Kotlin for JavaScript
  • Expanding Kotlin beyond the JVM
  • Differentiating the Legacy Compiler vs IR Backend
  • Supported platform templates in IntelliJ
  • JVM functionality not available in Kotlin/JS
  • Deconstructing a simple Kotlin/JS project
Interoperating with JavaScript
  • Working with the provided platform libraries
  • Interacting with the DOM and Browser APIs
  • Consuming Promise based APIs from Kotlin
  • Writing JavaScript module wrappers manually
  • Understanding the external keyword
  • Using the Any and dynamic types
  • The limitations of Kotlin wrapping JavaScript types
  • Auto-generating wrappers using dukat
React in Kotlin/JS
  • Examining the React DOM DSL
  • Attaching standard and custom attributes to elements
  • Writing class and functional components
  • Naming components for debugging
  • Use React Hooks and write custom hooks
  • Using delegation patterns for state
  • Writing DSL extensions
  • Understanding RProps for React props
  • The difference in functional components and extensions
Going Deeper with Kotlin/JS
  • Leveraging coroutines for simpler code
  • Understanding as and unsafeCast
  • When to apply jsObject
  • When to apply json
  • Writing inline JavaScript with js
  • Customizing Webpack
  • Testing Kotlin/JS code
Conclusion

Training Materials

All attendees receive comprehensive courseware.

Course outline and materials are copyrighted and owned by Instil Software.

Software Requirements

  • Windows or Mac minimum 8 GB RAM
  • Android Studio installed
  • Provided lab files from Accelebrate


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan