Go to file
ClarkXia cc0792b0fd
CI / build (16.x, ubuntu-latest) (push) Waiting to run Details
CI / build (16.x, windows-latest) (push) Waiting to run Details
CI / build (18.x, ubuntu-latest) (push) Waiting to run Details
CI / build (18.x, windows-latest) (push) Waiting to run Details
Coverage / coverage (16.x) (push) Waiting to run Details
Release / Release (16) (push) Waiting to run Details
feat: support custom props when render document (#7099)
* feat: support custom props when render document

* Update packages/runtime/src/types.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/runtime/src/renderDocument.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: test case

* Update runServerApp.tsx

* fix: optimize props

* chore: optimize code

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-30 11:17:22 +08:00
.changeset feat: support custom props when render document (#7099) 2025-06-30 11:17:22 +08:00
.github
.husky
examples
packages feat: support custom props when render document (#7099) 2025-06-30 11:17:22 +08:00
patches
scripts
tests feat: support custom props when render document (#7099) 2025-06-30 11:17:22 +08:00
website
.commitlintrc.js
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.npmrc
.prettierignore
.prettierrc.js
.puppeteerrc.cjs
CONTRIBUTING.md
LICENSE
README.md
codecov.yml
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
tsconfig.base.json
vitest.config.ts

README.md

ice.js

Downloads Version GitHub license PRs Welcome Gitter Leaderboard Open with OpenSumi

A universal framework based on React.js, 📚 Docs.

Features

  • 🐒 Zero Config: Out of the box support for ES6+, TypeScript, Less, Sass, CSS Modulesetc
  • 🐯 Practice: Practice about file-system routing, state Management, request, etc
  • 🦁 Hybrid: pre-render pages at build time (SSG) or request time (SSR) for default
  • 🐌 Plugin system: The plugin system provides rich features and allow the community to build reusable solutions
  • 🐂 Multi-End: Support both web, miniapp and Weex

Quick start

We recommend creating a new ice.js app using create-ice, which sets up everything automatically for you. To create a project, run:

$ npm init ice ice-app --template @ice/lite-scaffold

npm init <initializer> is available in npm 6+

Start local server to launch project:

$ cd ice-app
$ npm install
$ npm run start # running on http://localhost:3000.

It's as simple as that!

Contributing

Please see our CONTRIBUTING.md

Contributors

Contributors can contact us to join the Contributor Group.

Community

LICENSE

MIT