@lowdefy/renderer

3.23.3 • Public • Published

@lowdefy/renderer

The Lowdefy renderer is the main part of the Lowdefy web client.

It has the following responsibilities:

  • It contains the Graphql client
  • It contains the the router
  • It creates Lowdefy contexts, from @lowdefy/engine
  • It controls component layout using @lowdefy/layout
  • It loads blocks using webpack module federation.
  • It rerenders blocks when they should update.

A Lowdefy server serves a lightweight shell, that loads the renderer using module federation.

Running a development server

  • Run a Lowdefy development server using @lowdefy/server-dev.
  • Run the dev server using yarn start.
  • The renderer will be hosted at port 3001, but the Lowdefy app will be served from port 3000 by the development server.
  • If changes have been made in any dependencies (like @lowdefy/engine), they need to be built using yarn build, and the server restarted.

More Lowdefy resources

Licence

Apache-2.0

Readme

Keywords

Package Sidebar

Install

npm i @lowdefy/renderer

Homepage

lowdefy.com

Weekly Downloads

2

Version

3.23.3

License

none

Unpacked Size

1.91 MB

Total Files

41

Last publish

Collaborators

  • samtolmay
  • gervwyk