All Projects → neutrinojs → react-starter

neutrinojs / react-starter

Licence: other
ARCHIVED: Please use @neutrinojs/create-project

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to react-starter

math-magicians
Website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations. read a random motivation-related quote and write a to-do list.
Stars: ✭ 22 (-31.25%)
Mutual labels:  jsx
ink-box
Styled box component for Ink
Stars: ✭ 113 (+253.13%)
Mutual labels:  jsx
tung
A javascript library for rendering html
Stars: ✭ 29 (-9.37%)
Mutual labels:  jsx
react-calculator
📐 PWA React + Redux Calculator
Stars: ✭ 65 (+103.13%)
Mutual labels:  jsx
ExtendScript-for-Visual-Studio-Code
Extension that adds Adobe ExtendScript support to Visual Studio Code
Stars: ✭ 29 (-9.37%)
Mutual labels:  jsx
adobe-discord-rpc
Discord Rich Presence extension for your adobe apps!
Stars: ✭ 383 (+1096.88%)
Mutual labels:  jsx
React-Netflix-Clone
A Fully Responsive clone of Netflix website built using React.JS as a Front-end & Firebase as a Back-end.
Stars: ✭ 91 (+184.38%)
Mutual labels:  jsx
javascript
Traveloka JavaScript style guide
Stars: ✭ 24 (-25%)
Mutual labels:  jsx
nornj
More exciting JS/JSX based on Template Engine, support control flow tags, custom directives, two-way binding, filters and custom operators.
Stars: ✭ 97 (+203.13%)
Mutual labels:  jsx
unplugin-icons
🤹 Access thousands of icons as components on-demand universally.
Stars: ✭ 2,064 (+6350%)
Mutual labels:  jsx
react-jsx-renderer
A React component for Rendering JSX
Stars: ✭ 43 (+34.38%)
Mutual labels:  jsx
babel-plugin-hyperscript-to-jsx
This plugin transforms react-hyperscript into JSX. Intended to be used as codemod.
Stars: ✭ 20 (-37.5%)
Mutual labels:  jsx
next-boilerplate
📐 A modern universal boilerplate for React applications using Next.js.
Stars: ✭ 15 (-53.12%)
Mutual labels:  jsx
crud-app
❄️ A simple and beautiful CRUD application built with React.
Stars: ✭ 61 (+90.63%)
Mutual labels:  jsx
ai-merge
Import your SVG, AI, EPS, and PDF files into a single Illustrator document.
Stars: ✭ 65 (+103.13%)
Mutual labels:  jsx
vue3-jd-h5
🔥 Based on vue3.0.0, vant3.0.0, vue-router v4.0.0-0, vuex^4.0.0-0, vue-cli3, mockjs, imitating Jingdong Taobao, mobile H5 e-commerce platform! 基于vue3.0.0 ,vant3.0.0,vue-router v4.0.0-0, vuex^4.0.0-0,vue-cli3,mockjs,仿京东淘宝的,移动端H5电商平台!
Stars: ✭ 660 (+1962.5%)
Mutual labels:  jsx
BarterOnly
An ecommerce platform to buy or exchange items at your convenience
Stars: ✭ 16 (-50%)
Mutual labels:  jsx
react-for
A React component library to create loops in JSX
Stars: ✭ 22 (-31.25%)
Mutual labels:  jsx
iwish
I wish that too!
Stars: ✭ 19 (-40.62%)
Mutual labels:  jsx
reacty yew
Generate Yew components from React components via Typescript type definitions
Stars: ✭ 46 (+43.75%)
Mutual labels:  jsx

React Starter

Create React apps with zero initial configuration. react-starter is built using Neutrino to harness the power of Webpack with the simplicity of presets.

Features

  • Zero upfront configuration necessary to start developing and building a React web app
  • Extends from neutrino-preset-react
    • Modern Babel compilation adding JSX and object rest spread syntax
    • Support for React Hot Loader
    • Write JSX in .js or .jsx files
  • Extends from neutrino-preset-web
    • Modern Babel compilation supporting ES modules, last 2 major browser versions, and async functions
    • Webpack loaders for importing HTML, CSS, images, icons, and fonts
    • Webpack Dev Server during development
    • Automatic creation of HTML pages, no templating necessary
    • Hot Module Replacement support
    • Production-optimized bundles with Babili minification and easy chunking
    • Easily extensible to customize your project as needed

Requirements

  • Node.js v6.9+
  • Yarn or npm client

Installation

To get you started fork and clone the react-starter repository and install the dependencies using Yarn or the npm client.

cd react-starter/
❯ yarn

Quick start

Yarn

❯ yarn start
✔ Development server running on: http://localhost:5000
✔ Build completed

npm

❯ npm start
✔ Development server running on: http://localhost:5000
✔ Build completed

Building

react-starter builds static assets to the build directory by default when running yarn build.

❯ yarn build
✔ Building project completed
Hash: a3a9a0f61ddbfe6d0df1
Version: webpack 2.6.1
Time: 10664ms
                           Asset       Size    Chunks             Chunk Names
   index.f4accb410f193a07d59b.js    6.72 kB     index  [emitted]  index
polyfill.2f048c34ff815def7987.js    49.2 kB  polyfill  [emitted]  polyfill
 runtime.657c5e7df3c8dd071e60.js    1.55 kB   runtime  [emitted]  runtime
  vendor.6346e2d5798e9a77c2f0.js     180 kB    vendor  [emitted]  vendor
                      index.html  926 bytes            [emitted]
✨  Done in 12.35s.

Running Tests

In order to keep this starter kit minimalist, react-starter has no test runner configured, however adding one is incredible easy with Neutrino. Refer to the relevant section on building and running tests.

Preset options

You can provide custom options and have them merged with this preset's default options to easily affect how this preset builds. You can modify React preset settings from .neutrinorc.js by overriding with an options object. Use an array pair instead of a string to supply these options in .neutrinorc.js. See the Web documentation for specific options you can override with this object.

Example: Change the application mount ID from "root" to "app" and change the page title:

module.exports = {
  use: [
    ['neutrino-preset-react', {
      html: {
        title: 'Epic React App',
        appMountId: 'app'
      }
    }]
  ]
};

Customizing

By following the customization guide and knowing the rule, loader, and plugin IDs above, you can override and augment the build by by providing a function to your .neutrinorc.js use array. You can also make these changes from the Neutrino API in custom middleware.

Vendoring

By defining an entry point named vendor you can split out external dependencies into a chunk separate from your application code.

Example: Put React and React DOM into a separate "vendor" chunk:

module.exports = {
  use: [
    'neutrino-preset-react',
    (neutrino) => neutrino.config
      .entry('vendor')
        .add('react')
        .add('react-dom')
  ]
};

Contributing

Thank you for wanting to help out with Neutrino! We are very happy that you want to contribute, and have put together the contributing guide to help you get started. We want to do our best to help you make successful contributions and be part of our community.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].