1.1.7 • Published 4 years ago

tchin-react-components v1.1.7

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

tchin-react-components

My Web Kit

TRC is meant to be my own personnal web kit. The goal is to be able to setup and start making a front-end project rapidly without having to spend time creating basic components and setting up utilities like Redux.

App

The approach I used is to have a core in the package called app. app is a singleton that is initialized at the index of the project and contains the heart of the project, such as the routing system, theme configuration, i18n configuration, Redux store and more.

Components

For the components, I was inspired by many libraries such as Material-UI, Elastic-UI, Element-UI, Argon and Bootstrap to create my own soup of components. Thanks to Styled-Components, I was able to make many components without the need of external CSS.

Utils

As for utilities, they get created as I need them. There are many useful hooks, such as useConnect which allows you to retrieve the Redux store state and dispatch inside of components instead of connecting them separatly.

Dependencies

All dependencies, including devDependencies, have been purposely added as project dependencies. By doing this, TRC comes with all that I might need to make my project. While this may sound like a stretch, it also helped fixing some issues when deploying to Heroku, since it strips out devDependencies after building.

Language

The project was developped entirely in TypeScript, but also come bundled in JavaScript once published.

Disclaimer

This library is being developed with my personnal needs in mind. The components and utilities may change drastically at any time without warning.

NPM Installation

Use the package manager npm to install tchin-react-components.

npm i -S tchin-react-components

Documentation

As well as being the library for the components, TRC can be launched just like a website to view the docs. Clone the repo and do the following commands:

# Install dependencies
npm i

# Start the web server
npm start

# or you can use Gulp
gulp

Then navigate to http://localhost:1338/ (was 1337 initialy 😉 however, my Razer keyboard seems to be using this port for some unknown reason...)

Contributing

TRC is not even a production ready library, as it is still in development process. Therefore, most of it's features are in constant change and for that reason, contributing should be held out until an alpha version releases. Thanks for your understanding!

License

ISC

@babel/core@fortawesome/fontawesome-svg-core@fortawesome/free-brands-svg-icons@fortawesome/free-regular-svg-icons@fortawesome/free-solid-svg-icons@fortawesome/react-fontawesome@types/circular-dependency-plugin@types/dotenv@types/express@types/extract-text-webpack-plugin@types/fs-extra@types/git-branch@types/gulp@types/i18next@types/inquirer@types/lodash@types/node@types/react@types/react-dom@types/react-fontawesome@types/react-redux@types/react-router-dom@types/react-swipeable@types/react-syntax-highlighter@types/react-toastify@types/rimraf@types/shelljs@types/shortid@types/styled-components@types/tinycolor2@types/uuid@types/webpack@types/webpack-dev-server@types/yargs@typescript-eslint/eslint-plugin@typescript-eslint/parserbabel-loaderbabel-polyfillchalkcircular-dependency-plugincss-loaderdotenveslinteslint-config-airbnbeslint-config-prettiereslint-config-typescripteslint-import-resolver-webpackeslint-loadereslint-plugin-importeslint-plugin-jsx-a11yeslint-plugin-prettiereslint-plugin-reacteslint-plugin-react-hooksexpressexpress-sslifyextract-text-webpack-pluginframer-motionfs-extragit-branchgulphuskyi18nexti18next-markdown-jsx-pluginimmerinquirermomentnode-sassnormalize.cssprettierraw-loaderreactreact-domreact-i18nextreact-posereact-reduxreact-revealreact-router-domreact-swipeablereact-switchreact-syntax-highlighterreact-toastifyreduxredux-thunkreselectrimrafsass-loadershelljsshortidsimple-gitstyled-componentstinycolor2ts-loaderts-nodetypescriptuuidwebpackwebpack-cliwebpack-dev-serveryargs
1.1.8-beta.1

4 years ago

1.1.8-beta.0

4 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago