{"id":28484224,"url":"https://github.com/radenkovic/react-vanilla","last_synced_at":"2026-04-13T19:31:56.717Z","repository":{"id":131873809,"uuid":"100861942","full_name":"radenkovic/react-vanilla","owner":"radenkovic","description":"🍨 Vanilla React Boilerplate, almost non-opinionated 🌝","archived":false,"fork":false,"pushed_at":"2017-12-02T10:40:37.000Z","size":318,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T13:38:12.271Z","etag":null,"topics":["boilerplate","gulp","hmr","minimal","react","react-router","redux","sass","starter-kit","webpack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radenkovic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-08-20T13:04:56.000Z","updated_at":"2018-10-05T06:56:17.000Z","dependencies_parsed_at":"2023-06-26T19:55:13.041Z","dependency_job_id":null,"html_url":"https://github.com/radenkovic/react-vanilla","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/radenkovic/react-vanilla","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radenkovic%2Freact-vanilla","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radenkovic%2Freact-vanilla/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radenkovic%2Freact-vanilla/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radenkovic%2Freact-vanilla/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radenkovic","download_url":"https://codeload.github.com/radenkovic/react-vanilla/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radenkovic%2Freact-vanilla/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","gulp","hmr","minimal","react","react-router","redux","sass","starter-kit","webpack"],"created_at":"2025-06-07T22:06:35.956Z","updated_at":"2026-04-13T19:31:56.705Z","avatar_url":"https://github.com/radenkovic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Vanilla Boilerplate\n\n![Vanilla Boilerplate](http://i.imgur.com/1gzCT3O.jpg)\n\n\nSome really reasonable setup for React applications, no overhead and tons of libraries. \nInspired by [React Redux Starter Kit](https://github.com/davezuko/react-redux-starter-kit) but more minimal and less opinionated.\nWith small overhead, HMR is lightning fast, no stuttering and waiting any more!\n\nIncludes:\n\n- React\n- Redux\n- React Router DOM\n- Webpack as module bundler (and `webpack-dev-server`)\n- Gulp for production builds and compiling SASS\n\nDoes *NOT* include:\n\n- Test Frameworks\n- Style / CSS / SASS loaders (there are so many better options than loading sass w loader, you decide)\n- Heroku / AWS or any other deployment stuff\n\n\n## Installation\n\nYou need NodeJS, obviously : ).\n\n1. `git clone https://github.com/radenkovic/react-vanilla my-app`\n2. `cd my-app`\n3. `yarn`\n4. `npm start`\n5. if you want to edit global styles, open new console tab and run `gulp`\n\n\n## Project Structure\n\nSource files for the react app are in folder `/src`. Feel free to change the structure. \nRedux is also only loosely connected, so it can be easily and safely removed from `main.js` file (remove `\u003cProvider\u003e` wrapper and `createStore`).\n\nRoutes folder is for App Routes, where `index.js` (in the directory root) is to declare main Routes for the app.\n\nYou can read more about proper structure [here](https://github.com/davezuko/react-redux-starter-kit#project-structure).\n\n## Public folder\n\nIf you want to use plain images, load fonts via url and so on, place them in `/public` folder, then you can include them, for example:\n\n`/public/vanilla.jpg` = `\u003cimg src=\"/vanilla.jpg\" /\u003e`\n\nAll files are copied in `./dist` folder when built\n\n\n## Why Gulp and Webpack?\n\nBecause in reality apps need some global styles, and while scoped js/css mixture\nlooks good on paper, when used it's utterly slow (especially when you import something large, such as Bootstrap), sluggish and irritating.\nGulp SASS setup injects all `scss` files into index file (so compilation times are always few milliseconds).\n\nAlso, for build tasks, it's much easier to use gulp plugins (copying files, fonts, optimizing images and so on).\n\n### If you don't like Gulp\n\nYou can entirely get rid of it:\n\n1. remove `gulpfile.js` in root\n2. configure webpack to copy files from `/public` to `/dist` folder \n\nThat means no more global styling, you will need to add loaders or use `styled components`, `jss` or something similar.\n\n\n## Builds\n\nDistribution build can be made with:\n\n- `npm run build`\n\nIt cleans `dist` directory and creates fresh app version. You can also run `npm run staticServer` to preview your production build locally.\n\n### Build process streamline explained\n\n1. Dist directory is cleaned (removed, `rimraf`)\n2. Webpack compiles javascript and exports `index.html`, and js bundles (vendor, normalize, manifest and the main bundle) and all images loaded with `url-loader`\n3. Gulp compiles sass in production mode (concat, autoprefixer, minify, revision hashing) to `./dist/css`, and injects the file into `index.html`\n\n## What can be better (TBD)\n\n`project.config.js` file is utilized only for webpack.config.js, but it should be used in gulpfile too (single source for app settings)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradenkovic%2Freact-vanilla","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradenkovic%2Freact-vanilla","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradenkovic%2Freact-vanilla/lists"}