Coder Social home page Coder Social logo

react-comet's Introduction

reactcomet

Installation

Just click on "Use this template" or clone via ssh

Comet CLI

We recommend using the Comet CLI

Structure

Path Description
src/components A component is an independent part of the UI that can be used many times. The component depends only on the props. Examples: Button, Input, Dropdown Menu...
src/pages A page is a collection of components. The PageNameContainer.tsx must contain requests to the server and other logic. The PageName.tsx should be presentational component. Examples: Home, About, Dialogs...
src/hooks Your custom hooks

Components structure

  • src/components/Button/
    • Button.tsx
    • Button.styles.ts

Pages structure

  • src/pages/About/
    • AboutContainer.tsx
    • About.tsx
    • About.styles.ts

Hook structure

  • src/hooks/
    • hookName.hook.ts

Available Scripts

You can use yarn, just use yarn instead of npm run

npm run start

Runs the app in dev mode

npm run build

Builds the app for production to the build folder

npm run lint & npm run lint:fix

Checks compliance with the code style

npm run format

Format code with prettier

npm run types:coverage

Checks the code coverage by types

Support of styled-components in storybook

Check it

Create React App

react-comet was bootstrapped with create-react-app

License

react-comet is open source software licensed as MIT

react-comet's People

Contributors

ermolaevid avatar

Stargazers

Stanislav Ilin avatar

react-comet's Issues

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.