natterstefan / loadable-components-example

This example repository illustrates how to use loadable-components with an SSR app and TypeScript.

Home Page:loadable-components-example.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loadable Components SSR TypeScript Example

react

This example repository illustrates how to use loadable-components with an SSR app and TypeScript.

Features

  • loadable-components with full support for Client- and Server-Side Rendering
  • ReactJS Frontend
  • NodeJS Backend
  • TypeScript
  • change webpack's publicPath during runtime
  • with loadable routes (home and about), as well as loadable components (compare when and how the image is loaded in the client).

Start

yarn
yarn build
yarn start

# or start the watch mode
yarn watch

Open http://localhost:3000 and check out the network tab in your dev tools.

Preview

loadable-components-with-ssr-preview

References

Docs

Examples

Tutorials

Typescript Plugins

Issues

Misc

Tasks and Ideas

  • use ForkTsCheckerWebpackPlugin and use only babel-loader (Example)
  • Evaluate if we watch mode can be optimized

License

MIT

About

This example repository illustrates how to use loadable-components with an SSR app and TypeScript.

loadable-components-example.vercel.app

License:MIT License


Languages

Language:TypeScript 50.3%Language:JavaScript 49.7%