I’ve created a flexbox bootstrap like grid for #reactjs, that uses #styledcomponents and styled-system … \cc @jxnblk

  • Lightweight bootstrap like grid system for reactjs that uses flexbox.
  • Built on top of and much to:

    If like me, you still think about grids in terms of bootstrap, , , , , , and , then look no further.

  • styled-gel uses bootstrap 4’s mobile first repsonsive breakpoints which are by default:

    styled-system can be configured with styled-components to override the breakpoints and number of columns in a row with more configuration options to come.

styled-gel – Styled-components over bbc gel-grid
Continue reading “I’ve created a flexbox bootstrap like grid for #reactjs, that uses #styledcomponents and styled-system … \cc @jxnblk”

A case for Create React App – Erika Dike – Medium

A case for Create React App  #react #webpack #createreactapp #reactjs

  • A case for Create React AppRecently, I heard my colleague explain why he doesn’t use Create React App (CRA) or any boiler plate for that matter on any of his projects.
  • So in using create react app for instance he had ejected and found out that it produced a very complicated Webpack config file.
  • He argued that create react app added a lot of unnecessary bloat to react projects.I believe this is a valid concern when starting up projects you expect to be used for a long time.
  • If you do eject, you get a simple Webpack config file that explains every line so you make every change with confidence.
  • You may never get to this point, though; CRA allows you to create your app without standing in your way.

Recently, I heard my colleague explain why he doesn’t use Create React App (CRA) or any boiler plate for that matter on any of his projects. I agreed with a couple of his points but didn’t agree on…
Continue reading “A case for Create React App – Erika Dike – Medium”

Game Development with ReactJS and PHP: How Compatible Are They? — SitePoint

  • I added my recent work with PHP preprocessors to make things cleaner, and made the first couple of endpoints:
    $host = new 8080);

    $host-use($router = = = process = process is from config.pre

    I decided to use Aerys for the HTTP and Web Socket portions of the application.

  • Finally I added pre/short-closures, both to handle the custom syntax in config.pre and the short closures I planned on using after…
    Then I set about creating routes files:
    use Aerys\Router;
    use App\Action\HomeAction;

    return (Router $router) = {
    $router-route(
    “GET”, “/”, new HomeAction
    );
    };

    This is from routes/web.

  • Finally, I created two (similar) actions:
    namespace App\Action;

    use Aerys\Request;
    use Aerys\Response;

    class HomeAction
    {
    public function __invoke(Request $request,
    Response $response)
    {
    $response-end(“hello world”);
    }
    }

    This is from final touch was to add shortcut scripts, to launch dev and prod versions of the Aerys server:
    “scripts”: {
    “dev”: “vendor/bin/aerys -d -c loader.php”,
    “prod”: “vendor/bin/aerys -c loader.php”
    },
    “config”: {
    “process-timeout”: 0
    },

    This is from composer.json

    With all of this done, I could spin up a new server, and visit http://127.0.0.1:8080 just by typing:
    composer dev

    Setting Up The Front-end
    “Ok, now that I’ve got the PHP side of things relatively stable; how am I going to build the ReactJS files?

  • I noticed Mix liked to create a manifest file, so I made a helper function to query it:
    use Amp\Coroutine;

    function mix($path) {
    $generator = () = {
    $manifest = yield $manifest = json_decode($manifest, true);

    if (isset($manifest[$path])) {
    return $manifest[$path];
    }

    throw new Exception(“{$path} not found”);
    };

    return new is from helpers.pre

    Aerys knew how to handle promises when they came in the form of $val = yield $promise, so I used Amp’s Promise implementation.

  • I found this relatively straightforward, with a new class:
    namespace App\Socket;

    use Aerys\Request;
    use Aerys\Response;
    use Aerys\Websocket;
    use Aerys\Websocket\Endpoint;
    use GameSocket implements Websocket
    {
    private $endpoint;
    private $connections = [];

    public function onStart(Endpoint $endpoint)
    {
    $this-endpoint = $endpoint;
    }

    public function onHandshake(Request $request,
    Response $response)
    {
    $origin = if ($origin !

Chris bootstraps a basic Stardew-Valley-like game in this game development with PHP post, using an async server, preprocessors, and ReactJS!
Continue reading “Game Development with ReactJS and PHP: How Compatible Are They? — SitePoint”

We’re looking for awesome React.js Developers. Apply now:

We're looking for awesome React.js Developers.
Apply now:

  • Job Description :

    We are looking for a great JavaScript developer who is proficient with Reactjs Html and CSS .

  • Your primary focus will be on developing user interface components and implementing them following well-known React.js workflows (such as Flux or Redux).
  • Therefore, a commitment to collaborative problem solving, sophisticated design, and quality product is important.
  • Responsibilities :

    – Developing new user-facing features using React.js

    – Building reusable components and front-end libraries for future use

    – Should have at least 1.5 years of experience in react.js

    – Translating designs and wireframes into high quality code

    – Optimizing components for maximum performance across a vast array of web-capable devices and browsers

    Skills :

    – Strong proficiency in JavaScript, including DOM manipulation and the JavaScript object model

    – Thorough understanding of React.js and its core principles

    – Experience with popular React.js workflows (such as Flux or Redux)

    – Familiarity with newer specifications of EcmaScript

    – Familiarity with RESTful APIs

    – Familiarity with modern front-end build pipelines and tools

    – Experience with common front-end development tools such as Babel, Webpack, NPM, etc.

  • – Ability to understand business requirements and translate them into technical requirements

    – A knack for benchmarking and optimization

    – Solid understanding of Html and css and its framework such as Bootstrap

    – Familiarity with code versioning tools such as in Git

React.js Developer – Javascript (2-3 yrs), Delhi/NCR/Noida, React.js,Javascript,Bootstrap,RESTful,API, tech it jobs – hirist.com
Continue reading “We’re looking for awesome React.js Developers.
Apply now:”

Game Development with ReactJS and PHP: How Compatible Are They? — SitePoint

Game Development with #ReactJS and PHP: How Compatible Are They?

  • I added my recent work with PHP preprocessors to make things cleaner, and made the first couple of endpoints:
    $host = new 8080);

    $host-use($router = = = process = process is from config.pre

    I decided to use Aerys for the HTTP and Web Socket portions of the application.

  • Finally I added pre/short-closures, both to handle the custom syntax in config.pre and the short closures I planned on using after…
    Then I set about creating routes files:
    use Aerys\Router;
    use App\Action\HomeAction;

    return (Router $router) = {
    $router-route(
    “GET”, “/”, new HomeAction
    );
    };

    This is from routes/web.

  • Finally, I created two (similar) actions:
    namespace App\Action;

    use Aerys\Request;
    use Aerys\Response;

    class HomeAction
    {
    public function __invoke(Request $request,
    Response $response)
    {
    $response-end(“hello world”);
    }
    }

    This is from final touch was to add shortcut scripts, to launch dev and prod versions of the Aerys server:
    “scripts”: {
    “dev”: “vendor/bin/aerys -d -c loader.php”,
    “prod”: “vendor/bin/aerys -c loader.php”
    },
    “config”: {
    “process-timeout”: 0
    },

    This is from composer.json

    With all of this done, I could spin up a new server, and visit http://127.0.0.1:8080 just by typing:
    composer dev

    Setting Up The Front-end
    “Ok, now that I’ve got the PHP side of things relatively stable; how am I going to build the ReactJS files?

  • I noticed Mix liked to create a manifest file, so I made a helper function to query it:
    use Amp\Coroutine;

    function mix($path) {
    $generator = () = {
    $manifest = yield $manifest = json_decode($manifest, true);

    if (isset($manifest[$path])) {
    return $manifest[$path];
    }

    throw new Exception(“{$path} not found”);
    };

    return new is from helpers.pre

    Aerys knew how to handle promises when they came in the form of $val = yield $promise, so I used Amp’s Promise implementation.

  • I found this relatively straightforward, with a new class:
    namespace App\Socket;

    use Aerys\Request;
    use Aerys\Response;
    use Aerys\Websocket;
    use Aerys\Websocket\Endpoint;
    use GameSocket implements Websocket
    {
    private $endpoint;
    private $connections = [];

    public function onStart(Endpoint $endpoint)
    {
    $this-endpoint = $endpoint;
    }

    public function onHandshake(Request $request,
    Response $response)
    {
    $origin = if ($origin !

Chris bootstraps a basic Stardew-Valley-like game in this game development with PHP post, using an async server, preprocessors, and ReactJS!
Continue reading “Game Development with ReactJS and PHP: How Compatible Are They? — SitePoint”

React-based UI frameworks: Grommet – Prototyping: From UX to Front End

Grommet  #react #webdevelopment #javascript #uidesign #webdesign #reactjs

  • GrommetGrommet is a React-based web UI framework and design system in the tradition of older frameworks like Bootstrap, or newer ones like the web incarnation of Material Design.
  • It’s part of a new breed of React-based UI frameworks, the virtues of which I extoll in this post.
  • It’s a broad web design system, with guidelines for everything from layout to language.
  • It’s developed by a team at HP, so its design perspective is based on their internal needs.TL;DRGrommet’s a comprehensive and opinionated framework.
  • If its UX and aesthetic choices match your needs, it’s a great ready-to-use system with everything accounted for.

Grommet is more than just a set of UI components. It’s a broad web design system, with guidelines for everything from layout to language.
Continue reading “React-based UI frameworks: Grommet – Prototyping: From UX to Front End”