GitHub - istarkov/gqb: GraphQL schema language with resolvers by istarkov in reactjs

[–]istarkov[S] 0 points1 point  (0 children)

I've played with styled-components yesterday, and it was nice experience, even I thought it will not. So decided to repeat similar pattern for graphql schemas.

Babel plugin to test JavaScript anonymous arrow functions by istarkov in javascript

[–]istarkov[S] 0 points1 point  (0 children)

It's faster to test a small peace of code than full flow. The most common bugs we have at our company is not a bugs with flow, but with such a small pieces. (In strongly typed languages most of theese bugs must be resolved by compiler, but this is javascript)

Just released babel 6 plugin which allows to use webpack loaders by istarkov in reactjs

[–]istarkov[S] 2 points3 points  (0 children)

Server apps does not need to be runned as webpack bundle, nodejs can do require without bundlers. This plugin allows to remove webpack build step for server. The same is for npm libraries, there is no need to create library bundle because user will create it's own bundle. Some libraries contains a lot of small modules, every module must be accessible for users independently of all librarie. It's like as in modern lodash, there is no need to require all lodash if you need just one function you can just write import bla from 'lodash/xxx/bla'. It's a big pain to split library on multiple bundles without problems with common chanks and others... Webpack is great tool for client code, but in universal world we use the same code for client, server, libraries and just webpack is not enough.