Git Product home page Git Product logo

react-typescript-template's People

Contributors

snoh666 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-typescript-template's Issues

Clean up package.json

Clean up all the packages and move them to proper locations.
Meaning moving them from global deps to devDeps.

One of few examples move @types/jest into devDependencies

Components structure

Overview

Just by using this template I've come across that every time that I start new project and it differs in need, I need to remove parts of directories structure and some components.

Thinking about it maybe It's better to create clean template with no dir structure at the start.

Work to be done

  • remove whole components structure
  • remove whole layouts structure
  • remove whole pages structure
  • add basic test file for App itself or global test case (to know that RTL works correctly)

Update to use new project file structure

For components we want to use

<name>/
  __test__
    index.test.tsx
  index.tsx

So we're basically removing double name export for each component and everything associated

Testing script doesn't work

Overview

Basic test command doesn't work.

Probably coudl think about implementing tests to expand on with enzyme rendering

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.