Skip to content
#

hmr

Here are 294 public repositories matching this topic...

electron-react-boilerplate
markerikson
markerikson commented Nov 18, 2019

Hi, I'm a Redux maintainer. I'd like to offer a couple suggestions.

Problem

The current Redux example implementation shows use of reducers with "hand-written" immutable update logic, and has a somewhat complex store configuration. In addition, the project currently uses a "folder-by-type" folder structure.

Proposed Solution

The project should switch to using the official [Redux

zero
SephReed
SephReed commented Dec 30, 2019

Example Error for SEO:

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Cache.get (/Users/seph/Code/ChooseHealth/instride-storefront/node_modules/fuse-box/cache/cache.js:90:39)
    at Cache.restoreModule (/Users/seph/Code/ChooseHealth/instride-storefront/node_modules/fuse-box/cache/cache.js:254:29)
    at ict.on.props (/Users/seph/Code/ChooseHealth/instrid

A complete Angular 6 and Webpack 4 starter seed with minimal and full featured branches. Full featured branch includes: Material Design 2 (Bootstrap 4 branch available as well), @ngrx, HMR, DLLs and optional use of Universal for server-side rendering - Supports AOT (offline) compilation, sync and lazy loading. Karma/Protractor for e2e/unit tests.

  • Updated Dec 28, 2019
  • TypeScript
hadirsa
hadirsa commented May 16, 2018

I'm submitting a ...

[ * ] Documentation issue or request

Current behavior
I have added a new language to the languages list. Change in language's combo is Ok and works. The problem is that i want to set a new language as default.
I did this in config.local.json but default language is not set on application start. Is there another changes that i should make to hav

minooo
minooo commented Feb 6, 2017

一个良好的代码规范,不仅能提升web性能,提高团队协作,还便于后期维护,拓展。
“代码即文档”是我们对规范的一个愿景。下面就基于ES6的React项目配置,谈几点对React组件规范的几点建议。

我们的组件分为两大类,UI组件和container组件。

UI组件

UI组件是构成前端界面的基础单元,它们不涉及业务逻辑,无生命周期函数,只负责单纯的渲染,所有数据都通过 props 传入。

一, 咱们的UI组件大致分为两种情况,无状态和有状态

  • 如果是无状态组件,则使用纯函数,我们大部分的UI组件都是这种纯函数。
import React from 'react'

export default ({ hello }) => (
  <div>{hello}</div>
);
  • 如果是有状态组
ghost
ghost commented Dec 13, 2017

I configured webpack middleware, when I go to index page / all works fine, otherwise page Not Found, how to make work dev server for all paths ?

server.js

const Koa = require('koa');
const webpack = require('webpack');
const koaWebpack = require('koa-webpack-middleware');
const path = require('path');
const fs = require('fs');

const PORT = 3000;

const app = new Koa();
const
bryanlarsen
bryanlarsen commented Oct 25, 2018

Feature Use Case

Using webpack-hot-client under some sort of orchestration system to tie together a bunch of microservers, like an ingress server in minikube or the kubernetes in docker-for-mac

Feature Proposal

Allow the websocket path to be specified both on the client and the server. I'd prefer they both be set the same so I don't need to use url-rewriting.

Current ugly

Improve this page

Add a description, image, and links to the hmr topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hmr topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.