cra-template-inversify

The base TypeScript template for Create React App.

Usage no npm install needed!

<script type="module">
  import craTemplateInversify from 'https://cdn.skypack.dev/cra-template-inversify';
</script>

README

cra-template-inversify

This is a fork of cra-template-typescript. The template app uses inversify and inversify-constructor-injection to allow dependency injection into class constructors and into function based components.

To use this template, add --template inversify and --scripts-version react-scripts-inversify when creating a new app.

For example:

npx create-react-app my-app --scripts-version react-scripts-inversify --template inversify

alternatively

npx create-react-app-inversify my-app

For more information, please refer to: