ReactFoo 2017

A conference on React

Anup Kumar

@anup07

Introduction to Preact - small, fast react alternative

Submitted Aug 23, 2017

Some of you might have heard about preact and may have even played around with it. Let’s dig a little deeper and explore the factors that make preact awesome. We will look at the advantages of preact over react, how easy it is to get up and running a project using preact-cli.

Outline

Preact is a 3KB alternative to React with the same API. It’s also one of the fastest Virtual DOM libraries out there, thanks to a simple and predictable diff implementation.

This talk will walk you through all the things that make preact awesome.

Here’s a brief outline of the talk:

  1. What is Preact?
  2. Advantages of preact over react
  3. What makes preact different from react?
  4. How to swap a project from react to preact
  5. Using preact-compat for compatibility between preact and react
  6. Getting started with preact (bootstrapping a project)
    6.1) Introduction to Preact-CLI
    6.2) Main features of preact-cli
    6.3) A small demo using preact-cli and testing using lighthouse.

Speaker bio

Anup is a JavaScript fanboy. He is a front-end developer at IBS Unified and core contributor to Preact CLI. While he is not reviewing the PRs and drafting releases, he builds PWA’s with Preact and loves taking photos.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

A community - for and of - front-end engineers to share experiences with ReactJS, performant apps with React, crafting better User Interfaces (UI) with React and GraphQL ecosystem. ReactFoo also discusses design patterns and user experience. more