# reactrouter-parcel

> 'Better code fast = me'

Latest version **1.1.0** (published 2021-06-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install reactrouter-parcel
pnpm add reactrouter-parcel
yarn add reactrouter-parcel
bun add reactrouter-parcel
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2021-06-01 |
| First published | 2021-05-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 243 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | atulit |
| Maintainers | atulit |
| Keywords | react react-router parcel bootstrap |

## Links

- npm: https://www.npmjs.com/package/reactrouter-parcel
- Repository: https://github.com/icecoffee-dev/react-parcel-reactrouter-myboilerplate
- Homepage: https://github.com/icecoffee-dev/react-parcel-reactrouter-myboilerplate/#readme
- Issues: https://github.com/icecoffee-dev/react-parcel-reactrouter-myboilerplate/issues
- npm.io page: https://npm.io/package/reactrouter-parcel

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^17.0.1
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.1
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^5.2.0

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2021-06-01
- 1.0.1 — 2021-05-29
- 1.0.0 — 2021-05-29

## README

# React-parcel my boilerplate

## Automate the process

Just clone the git repo and run `bash steps.sh` to reproduce all the steps.

Actions: 
make an app folder in the current folder, initialize it and performs all the steps as mentioned in [`Steps`](#steps) below

```bash
bash steps.sh
```

## Steps:

1. make and initialize folder `yarn init -y`
2. add parcel `yarn add --dev parcel@next`
3. add react and react-dom `npm install react react-dom`
4. make source directory `mkdir src`
5. make `index.html` and `index.js` inside `src/`
6. add `eslint` and `prettier` support

```bash
npx eslint --init
npm install --save-dev --save-exact prettier
```

7. add `scrips` in `package.json`

```json
 "scripts": {
    "start": "parcel ./src/index.html --open",
    "format": "npx prettier --write src/.",
    "lint": "eslint \"src/**/*.{js, jsx}\" --quiet",
    "dev": "parcel src/index.html",
    "build": "parcel build src/index.html"
  },
```

7. make `prettierrc` file as `echo {}> .prettierrc.json`
8. Add content in `index.html` and `index.js` file.

```html
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Parcel | App</title>
  </head>
  <body>
    <div id="root"></div>
    <script src="./index.js"></script>
  </body>
</html>
```

```js
import React from "react";
import ReactDOM from "react-dom";

ReactDOM.render(
  <React.StrictMode>
    <h1>Hi</h1>
  </React.StrictMode>,
  document.getElementById("root")
);
```

---
_Source: https://npm.io/package/reactrouter-parcel · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
