Skip to content

v0.16.0

Choose a tag to compare

@d4rkr00t d4rkr00t released this 22 Jun 23:25
· 43 commits to master since this release

Highlights

Better messages

messages

Quick commands

For some frameworks Aik provides additional support in the way of quick commands:

React

In order to use quick commands feature with react and enable hot loading entry point of an application should export react component:

import React from "react";

export default function App() {
  return (
    <div>My React App.</div>
  );
}

Also, you need to run aik with -r flag:

aik index.js -r

This will wrap react component in RHL compatible wrapper enabling hot reloading for react components and also mounts component to an element with id app.


Bug Fixes

  • Add more places where Aik clears console (5c6c48c)
  • Bump dependencies and fix new flow errors (d5a9de4)
  • Fix webpack2 + ngrok (43955c3)

Features

  • Add more filters for error messages and warnings (283aa6a)
  • Add tree shaking support (c354932)
  • babel-preset-latest -> babel-preset-env (3d6700f)
  • Clean up all messages (c0c8d8e)
  • Create package.json automatically (28312c0)
  • eslint-loader 1.8.0 (df6b67a)
  • eslint-plugin-react 7.1.0 (74a5a9c)
  • npm-install-webpack-plugin -> npm-install-webpack2-plugin (2d305a6)
  • Quick export for react components and new RHL (02a6c37)
  • Remove annoying warning about react when react has already been installed (d290ed9)
  • Update eslint-plugin-react rules (cf8605f)
  • Update to ESLint 4 (71fdb16)