项目作者: sectore

项目描述 :
PureScript + webpack + vanilla HMR
高级语言: JavaScript
项目地址: git://github.com/sectore/purescript-webpack-vanilla-hmr.git
创建时间: 2016-03-27T20:29:44Z
项目社区:https://github.com/sectore/purescript-webpack-vanilla-hmr

开源协议:MIT License

下载


purescript-webpack-vanilla-hmr

Simple + fast build of PureScript with Webpack and Hot Module Replacement (HMR). No Pulp, no Gulp or anything else - just webpack.

screenshot

Why?

“I strongly suggest you to consider using vanilla HMR API instead of React Hot Loader, React Transform, or other similar projects. It’s just so much simpler—at least, it is today.”

Quote by Dan Abranov (Creator of Redux, React Hot Loader etc.)

Why not the using the same stuff for building PureScript application today?

Do I need this to run Pux with HMR?

To demonstrate the feature of HMR the example app uses Pux under the hood. However, Pux’s starter-app has already merged the HMR solution from here. So you don’t need to implement this HMR thing into your Pux app.

Installation

It’s recommended to use yarn

  1. yarn install
  2. yarn start

Open http://localhost:3000/

Acknowledge

License

MIT

Have fun :) — Jens Krause — jkrause.io