GithubHelp home page GithubHelp logo

aritheelk / inferno-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 1.0 178 KB

๐Ÿ”ฅ Inferno Boilerplate ๐Ÿ”ฅ

License: MIT License

JavaScript 83.62% HTML 0.63% CSS 15.75%
inferno inferno-boilerplate boilerplate inferno-js

inferno-boilerplate's Introduction

inferno boilerplate

Travis David Tweet Link
ICARE

Mission Statement

I personally have always been one who learns best by following examples and reverse engineering real world code. For that reason, I have constructed this boilerplate; in the hopes that anyone who is new to Inferno will be able to pick it up and not only have a valuable starting point, but actually be able to learn how to build useful applications using a real world stack.

Features

Demo

ย ๐Ÿ”ฅ Click Here to View the Live Demo ๐Ÿ”ฅ

inferno boilerplate movie search preview

Documentation

  1. Setup & Installation
  2. Running Development Server
  3. Linting
  4. Building

Notes

  • inferno-boilerplate is in its early states; if you notice any bugs while using it, please open an issue!

License

Inferno Boilerplate is under the MIT License

inferno-boilerplate's People

Contributors

aritheelk avatar rivertam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

orchestor

inferno-boilerplate's Issues

Version Issue on npm install

Seems version problem, could give some pointer to the right solution.

npm WARN [email protected] requires a peer of webpack@1 || ^2.1.0-beta but none was installed.
npm WARN [email protected] requires a peer of webpack@^1.9.11 but none was installed.
npm WARN [email protected] requires a peer of webpack@1 || ^2.1.0-beta but none was installed.
npm WARN [email protected] requires a peer of node-sass@^3.4.2 but none was installed.
npm WARN [email protected] requires a peer of webpack@^1.12.6 || ^2.1.0-beta but none was installed.

TODO: implement flowtype support

In order to solidify this boilerplate and make it bulletproof, it needs support for type checking. Luckily this is something that can be progressively implemented, but the initial support for it needs setup before any files can begin implementing flowtype support.

Hit List:

Flowtype Setup

  • Add flow to the project's dev dependencies
  • Configure via .flowconfig

Components

  • Button
  • Header
  • Input
  • List
  • MovieRow
  • Nav
  • Wrapper

Containers

  • AboutPage
  • HomePage

Templates

  • component.test.js
  • container.test.js

Uncaught TypeError: Cannot read property 'pathname' of undefined

Problem:
Error gets thrown in the browser on a search

How to reproduce:
yarn
yarn start
open localhost:4000 in chrome
search 'batman'
error output in chrome console

main.js:10502 Uncaught TypeError: Cannot read property 'pathname' of undefined
    at getURLString (main.js:10502)
    at match (main.js:11041)
    at RouterContext.render (main.js:11148)
    at RouterContext._updateComponent (main.js:6520)
    at patchComponent (main.js:3918)
    at patch (main.js:3733)
    at patchComponent (main.js:3945)
    at patch (main.js:3733)
    at patchComponent (main.js:3945)
    at patch (main.js:3733)

TODO: implement unit testing

This definitely needs a unit testing suite installed before recommending it's use in serious projects.

I'm currently leaning towards the ava test runner. However I remember hearing about issues with testing react projects on CI servers due to high number of individual test processes. If this is still an issue, it might be worth looking into other solutions.

Tests need written for individual components/containers as well as for the template component/container. This will aid in easy generation of component test files using the yarn mk comand.

Hit List:

Components

  • Button
  • Header
  • Input
  • List
  • MovieRow
  • Nav
  • Wrapper

Containers

  • AboutPage
  • HomePage

Templates

  • component.test.js
  • container.test.js

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.