Skip to content

Latest commit

 

History

History
32 lines (16 loc) · 1.29 KB

README.md

File metadata and controls

32 lines (16 loc) · 1.29 KB

Visual effects in TypeScript (+React and Redux).

Build Status

See it in action: https://krzyszsz.github.io/react-fun/build

Fire effect in TypeScript with React and Redux (plus a slider to change parameters of the fire).

My original idea was to follow the tutorial: https://github.com/Microsoft/TypeScript-React-Starter but implementing my own components to play with. Apart from graphic effect there is my generic implementation of Binary Search with unit tests in TS (because why not).

npm install -g create-react-app

create-react-app react-fun --typescript

Later: configured CI with unit tests

Later: added sample module with binary search (using generics in TypeScript) with unit tests.

Later: added a simple animation component (a flame effect).

Later: played with state of components.

Installing Material-UI components to add slidebar: ( https://material-ui.com/getting-started/installation/ )

npm install @material-ui/core

npm install @material-ui/lab

Installing Redux:

npm install -S redux react-redux @types/react-redux