Skip to content

Pure TypeScript implementation of styled JSX functional components and state management.

License

Notifications You must be signed in to change notification settings

matt-dunn/demo-state-styled-render

Repository files navigation

Pure TypeScript implementation of styled JSX functional components and state management

Actions Status

Simple vanilla, dependency free implementation of:

  • JSX functional component rendering with virtual DOM and simple hooks
  • Redux style state management
  • A Styled Component implementation

Intended as an illustration of how the basics and internals of React / Redux / Styled Components work under the hood and not intended for production use.

View demo.


Includes the following packages:

Demonstrated with an example Todo app 🙀.

Also includes:


Getting started

yarn install

Build

yarn build

Build artifacts can be found in the dist directory.

Development

yarn start

The development version of the app will be started at https://localhost:1234 using Parcel with live reloading.

Test

Run all tests using Jest with coverage.

yarn test

License

The MIT License (MIT) Copyright (c) 2020 Matt Dunn