Bitcoin Forum
October 29, 2020, 08:47:06 AM *
News: Latest Bitcoin Core release: 0.20.0 [Torrent]
   Home   Help Search Login Register More  
Pages: [1]
Author Topic:  (Read 65 times)
Hero Member
Offline Offline

Activity: 1442
Merit: 505

View Profile
August 11, 2020, 12:35:10 AM
Last edit: August 11, 2020, 01:28:25 AM by olkah

Dear fellow react-ts coders please use our own module. Much advance. ZERO config, highly optimize.
Happy Coding!!!
Modern build setup with no configuration for [ React + TypeScript ] projects.

Main differences with create react app:
Faster build times
Namespaces support
Module resolution support (baseUrl/paths)
Type checking on a separate proccess
Transpilation using ts-loader
Provide compile-time information for styled components typescript-plugin-styled-components
Found any problem or bug? Please create a new issue || mailto :
Webpack 4
up-to-date TypeScript
Zero config optimize build
TypeScript compilation ts-loader
Type and tslint errors on a separate process fork-ts-checker-webpack-plugin
Sass, Less and Css Modules css-modules
Generate TypeScript typings for CSS modules typings-for-css-modules-loader
Tranform SVG into React components svgr
Use .js|.jsx and .ts|.tsx files together.
Check out the template files for usage examples.
Getting started
Create a new project:
npx create-react-app my-app
cd my-app/
yarn start
Already using create-react-app / react-scripts?
Install this package in yout project:

yarn add
Change your package.json configuration to use react-scripts-ts

  "scripts": {
    "start": "react-scripts-ts start",
    "build": "react-scripts-ts build",
    "test": "react-scripts-ts test --env=jsdom",
Ejecting is not supported in this project, you have 2 options:

Fork this project and create your own react-scripts-ts package.

Use react-app-rewired with custom scripts versions:

  "scripts": {
    "start": "react-app-rewired start --scripts-version",
    "build": "react-app-rewired build --scripts-version",
    "test": "react-app-rewired test --scripts-version --env=jsdom"
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!