React Codelab with next.js

Hey @_svs_ - please RT my #Reactjs Codelab happening tomorrow at 10:00 AM :)

  • Intermediate developer who want to go full stack and learn about routing, crud services, creating seo friendly pages and getting server side data rendered into their React app


  • Creating pages in your React App (30 mins)

    a.From components to pages and back again!

  • Create dynamic pages (20 mins)

    a.Create SEO friendly urls

    b.Add an express server to your app

    i.Basics of express

    ii.How server side routing works with express


  • Getting data flowing through your pages and components (20 mins)

    a.Fetch data from an api using async/await

    b.Render a list view from dynamic api data

    c.Render a detail view from api data


  • Adding CRUD to your app using API services (40 mins)

    a.Use JSON server to quickly mock a REST service

    b.Create an api service layer to interact with your resources


Rise Presents : React Codelab with next.js
Building a React app always feels like a complicated, unending and incomplete process. And that’s true for begin
Continue reading “React Codelab with next.js”

ZEIT – Next.js 2.0

Next.js 2.0

  • When we launched Next.js, there was no way to do dynamic routing or load your custom server code.
  • This has tremendous benefits, at the tiny cost of two extra parameters in the initial `install` to set up your project:

    Our mission is to make Next.js as familiar as possible to developers on the Web Platform.

  • Each top-level component (page) in Next.js defines the entirety of the document .
  • We’ve very thankful to our community for having submitted so many examples of backends (Express, HAPI, Koa…), styling systems (cxs, glamor, styled-components…), testing systems (jest), type systems (TypeScript and Flow), data fetching (Apollo) and many others.
  • This will allow for server-rendered pages that expose different JS components according to the data they used, for example.

Next.js 2.0 comes packed with performance improvements and extensibility features
Continue reading “ZEIT – Next.js 2.0”

React Universal with Next.js: Server-side React

#ReactJS Universal with #NextJS: Server-side React

  • /pages/index.js // Import React import React from ‘react’ // Export an anonymous arrow function // which returns the template export default () => (

    This is just so easy!

  • import React from ‘react’ import Head from ‘next/head’ import axios from ‘axios’; export default class extends React.
  • Our index page does not implement this performance related feature in details page.
  • /pages/details.js import React from ‘react’ // Import Link from next import Link from ‘next/link’ export default () => (

    Coming soon. . .!

The term “universal” is a community-coined term for building web apps that render happily on a server. You might be familiar with “isomorphic” as…
Continue reading “React Universal with Next.js: Server-side React”

Next.Js – JavaScript Mantra – Medium

Next.Js: Is it the next big thing in JavaScript? @arunoda  #JavaScript #Reactjs

  • Just create a few files for pages in your app, and you are done.
  • For example, let’s say you need to create web app with two pages (Home page and About page).
  • It uses the file system as the router for your app.
  • You need to bring additional stuff which is needed for your app.
  • import React from ‘react’ import Header from ‘.

There are too many JS frameworks out there — we all know that.
But still, we see new JS frameworks every day. Next.js may not cure JS Fatigue, but it allows us to build web apps in JavaScript as we…
Continue reading “Next.Js – JavaScript Mantra – Medium”