Skip to content
neekey
Learn and live.
  • Home
  • Writing
  • Memory
  • About

Category: Coding

Coding

Auto deployment to FTP server with Travis-CI

Posted on 01/01/2017 by neekey / 3 Comments

Instead of integrating your app with deployment platforms like deployHQ, you can use Travis-CI to create your custom deployment process. In my case, I just need...

Coding

Rules for testing React UI component with Enzyme

Posted on 16/12/2016 by neekey / 0 Comment

You should always write test for your code. All the examples below will be using Mocha, Chai, you should be able to change to whatever library you like.

Coding

How to avoid preflight OPTION request in CROS request

Posted on 13/12/2016 by neekey / 0 Comment

When sending CROS Ajax request, sometimes you may found that before every request you make, there will be a OPTION request sent. It’s quite annoying and s...

Coding

React+Webpack1/2/3+Semantic UI and how to do theming

Posted on 09/12/2016 by neekey / 21 Comments

Semantic UI is a great UI framework which can make your UI development much easier, but it’s still not a joyful job to make it work with webpack especiall...

Coding

How to Fix: npm WARN cannot run in wd

Posted on 05/12/2016 by neekey / 1 Comment

You may encounter this issue when you run npm with root permission. In my case, I created a postinstall command to fix a particular node module’s problem:...

Coding

Introduce to Loose-Constrolled react form input

Posted on 10/09/2016 by neekey / 0 Comment

React provides two ways to use its form inputs, Controlled and Uncontrolled. I will try to explain both of them and the user cases, after that I will introduce ...

Coding

Implementing responsive design in React

Posted on 28/08/2016 by neekey / 0 Comment

Two kinds of responsive design There’s two type of responsive design: One is just adjusting an element’s appearance in response to different media t...

Coding

Manipulate state in Redux, but not with ImmutableJS

Posted on 19/08/2016 by neekey / 0 Comment

Problems When Handling Redux State tedious manually manipulate state unnecessary state change, and component re-rendering need to access state path carefully in...

Coding

Using AngularJS and Webpack to implement a Single Page Application

Posted on 29/05/2016 by neekey / 0 Comment

Well, this article is here to help you implement SPA with AngularJS and Webpack. But I am not going to show you every line of code since that will be too much t...

Coding

理解 MVC / Model2 / MVP / MVVM / Flux

Posted on 07/05/2016 by neekey / 0 Comment

总结一下目前流行的MV*设计模式,着重其在前端环境的应用问题。 传统MVC

Posts navigation

« Previous 1 2 3 Next »

RECENT

  • Python Xero Integration Setup 25/08/2018
  • Cypress: UI Test For Your React/Webpack Project 16/08/2018
  • 《如何阅读一本书》 笔记 29/07/2018
  • Review: The Spare Room 02/06/2018
  • Set up automatic CI & NPM release with semantic-release 10/04/2018
© 2019 neekey
Powered by WordPress | Theme: Graphy by Themegraphy