Skip to content

Conversation

@PupilTong
Copy link
Collaborator

@PupilTong PupilTong commented Jul 15, 2025

We found that in browser there is no simple tool to decode a base64 string

Therefore we move the data to ssr attribute

Also fix some ssr issues

Implement SSR for Web #52

Summary by CodeRabbit

  • New Features

    • Server-side rendering hydration data is now provided via a dedicated attribute for easier browser access.
    • Introduced new types to support SSR event replay and hydration data structures.
    • Template elements are now explicitly marked during server-side rendering for improved processing.
  • Bug Fixes

    • Addressed issues related to server-side rendering and hydration.
  • Tests

    • Added a new server-side rendering test to validate event binding in generated HTML.
  • Refactor

    • Improved the way SSR event and hydration data are embedded and accessed in rendered HTML.
    • Enhanced style property handling to ensure consistent string conversion during inline style updates.

@PupilTong PupilTong requested a review from Copilot July 15, 2025 09:45
@PupilTong PupilTong self-assigned this Jul 15, 2025
@changeset-bot
Copy link

changeset-bot bot commented Jul 15, 2025

🦋 Changeset detected

Latest commit: 63fae1b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@lynx-js/web-mainthread-apis Patch
@lynx-js/web-core-server Patch
@lynx-js/web-constants Patch
@lynx-js/web-core Patch
@lynx-js/web-worker-runtime Patch
@lynx-js/web-worker-rpc Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 15, 2025

Warning

Rate limit exceeded

@PupilTong has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 2 minutes and 48 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 7a8d871 and 63fae1b.

⛔ Files ignored due to path filters (1)
  • packages/web-platform/web-tests/tests/__snapshots__/server.vitest.spec.ts.snap is excluded by !**/*.snap
📒 Files selected for processing (9)
  • .changeset/lemon-colts-hang.md (1 hunks)
  • packages/web-platform/web-constants/src/types/MainThreadGlobalThis.ts (1 hunks)
  • packages/web-platform/web-constants/src/types/SSR.ts (1 hunks)
  • packages/web-platform/web-constants/src/types/index.ts (1 hunks)
  • packages/web-platform/web-core-server/src/createLynxView.ts (4 hunks)
  • packages/web-platform/web-mainthread-apis/src/createMainThreadGlobalThis.ts (4 hunks)
  • packages/web-platform/web-mainthread-apis/src/prepareMainThreadAPIs.ts (3 hunks)
  • packages/web-platform/web-mainthread-apis/src/pureElementPAPIs.ts (1 hunks)
  • packages/web-platform/web-tests/tests/server.vitest.spec.ts (1 hunks)

Walkthrough

This change refactors how server-side rendering (SSR) hydration and event replay data are embedded in the rendered HTML. Instead of using a base64-encoded comment, SSR data is now included as a URI-encoded JSON object in a dedicated ssr attribute. Supporting TypeScript types, event tracking, and API hooks are updated accordingly.

Changes

File(s) Change Summary
.changeset/lemon-colts-hang.md Documents the feature and related SSR fixes.
packages/web-platform/web-constants/src/types/SSR.ts Introduces new SSR-related TypeScript types for event replay and hydration data structures.
packages/web-platform/web-constants/src/types/MainThreadGlobalThis.ts Updates ssrHydrate method signature to accept `string
packages/web-platform/web-constants/src/types/index.ts Re-exports new SSR types.
packages/web-platform/web-mainthread-apis/src/createMainThreadGlobalThis.ts Adds optional ssrHooks to config and supports overriding __AddEvent via hooks.
packages/web-platform/web-mainthread-apis/src/prepareMainThreadAPIs.ts Adds optional ssrHooks parameter and passes it to main thread global context creation.
packages/web-platform/web-mainthread-apis/src/pureElementPAPIs.ts Ensures all inline style values are stringified before transformation.
packages/web-platform/web-core-server/src/createLynxView.ts Refactors SSR event data capture and embeds it as a URI-encoded JSON object in the ssr attribute instead of a base64 comment.
packages/web-platform/web-core-server/src/dumpHTMLString.ts Modifies element serialization to append lynxPartIdAttribute and omit empty attributes.
packages/web-platform/web-tests/tests/server.vitest.spec.ts Adds a new server-side test validating presence of bindEvent in rendered HTML.

Sequence Diagram(s)

sequenceDiagram
    participant Server
    participant prepareMainThreadAPIs
    participant createMainThreadGlobalThis
    participant LynxView

    Server->>prepareMainThreadAPIs: Call with ssrHooks (includes __AddEvent)
    prepareMainThreadAPIs->>createMainThreadGlobalThis: Pass ssrHooks
    createMainThreadGlobalThis->>createMainThreadGlobalThis: Override __AddEvent if ssrHooks provided
    prepareMainThreadAPIs-->>Server: Returns APIs with hooked __AddEvent
    Server->>LynxView: Render <lynx-view> with ssr attribute (URI-encoded JSON)
Loading

Possibly related PRs

Suggested reviewers

  • Sherry-hue

Poem

A hop and a jump, with data anew,
SSR secrets now easy to view!
No more base64 puzzles to crack,
Just a clean ssr attribute—no looking back.
With hooks and types, the code feels light,
This bunny approves: the future is bright!
🐇✨

✨ Finishing Touches
  • 📝 Generate Docstrings

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@PupilTong PupilTong requested a review from Sherry-hue July 15, 2025 09:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR moves SSR hydration data from base64-encoded comments into a dedicated ssr attribute on the <lynx-view> element, wires SSR dehydrate hooks through the main-thread APIs, and updates related type definitions.

  • Introduce ssrHooks across prepareMainThreadAPIs and createMainThreadGlobalThis to capture events during server render.
  • Collect and serialize SSR dump info (encoded data + event list) into the ssr attribute.
  • Update type exports and adjust test suite to cover basic SSR bindings.

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/web-platform/web-tests/tests/server.vitest.spec.ts Added a new test for basic-bindtap but test name mismatches the input.
packages/web-platform/web-mainthread-apis/src/pureElementPAPIs.ts Coerce style values to strings before parsing inline styles.
packages/web-platform/web-mainthread-apis/src/prepareMainThreadAPIs.ts Pass new ssrHooks parameter into API initializer.
packages/web-platform/web-mainthread-apis/src/createMainThreadGlobalThis.ts Support overriding __AddEvent via SSR hooks.
packages/web-platform/web-core-server/src/createLynxView.ts Serialize SSR data into the ssr attribute instead of HTML comments.
packages/web-platform/web-constants/src/types/index.ts Export new SSR-related types.
packages/web-platform/web-constants/src/types/SSR.ts Define SSREventReplayInfo, SSRDumpInfo, and SSRDehydrateHooks.
packages/web-platform/web-constants/src/types/MainThreadGlobalThis.ts Allow ssrHydrate to accept null.
Comments suppressed due to low confidence (1)

packages/web-platform/web-tests/tests/server.vitest.spec.ts:24

  • The test name 'config-css-selector-false-exchange-class' does not match the template key 'basic-bindtap' used inside. Rename the test to 'basic-bindtap' (or another descriptive name) to reflect its purpose.
  test('config-css-selector-false-exchange-class', async () => {

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8f904df and df9b87c.

⛔ Files ignored due to path filters (1)
  • packages/web-platform/web-tests/tests/__snapshots__/server.vitest.spec.ts.snap is excluded by !**/*.snap
📒 Files selected for processing (9)
  • .changeset/lemon-colts-hang.md (1 hunks)
  • packages/web-platform/web-constants/src/types/MainThreadGlobalThis.ts (1 hunks)
  • packages/web-platform/web-constants/src/types/SSR.ts (1 hunks)
  • packages/web-platform/web-constants/src/types/index.ts (1 hunks)
  • packages/web-platform/web-core-server/src/createLynxView.ts (4 hunks)
  • packages/web-platform/web-mainthread-apis/src/createMainThreadGlobalThis.ts (4 hunks)
  • packages/web-platform/web-mainthread-apis/src/prepareMainThreadAPIs.ts (3 hunks)
  • packages/web-platform/web-mainthread-apis/src/pureElementPAPIs.ts (1 hunks)
  • packages/web-platform/web-tests/tests/server.vitest.spec.ts (1 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (5)
packages/web-platform/web-tests/tests/server.vitest.spec.ts (1)
packages/web-platform/web-tests/server.js (1)
  • genTemplate (35-42)
packages/web-platform/web-mainthread-apis/src/createMainThreadGlobalThis.ts (2)
packages/web-platform/web-constants/src/types/SSR.ts (1)
  • SSRDehydrateHooks (15-17)
packages/web-platform/web-core-server/src/createLynxView.ts (1)
  • __AddEvent (144-151)
packages/web-platform/web-constants/src/types/SSR.ts (1)
packages/web-platform/web-constants/src/types/MainThreadGlobalThis.ts (1)
  • AddEventPAPI (19-24)
packages/web-platform/web-core-server/src/createLynxView.ts (2)
packages/web-platform/web-constants/src/types/SSR.ts (2)
  • SSREventReplayInfo (3-8)
  • SSRDumpInfo (10-13)
packages/web-platform/web-constants/src/constants.ts (1)
  • lynxUniqueIdAttribute (5-5)
packages/web-platform/web-mainthread-apis/src/prepareMainThreadAPIs.ts (1)
packages/web-platform/web-constants/src/types/SSR.ts (1)
  • SSRDehydrateHooks (15-17)
🔇 Additional comments (8)
.changeset/lemon-colts-hang.md (1)

1-15: Well-documented changeset.

The changeset clearly describes the feature change and provides proper context for why the SSR hydration data is being moved from base64 encoding to a dedicated ssr attribute.

packages/web-platform/web-constants/src/types/index.ts (1)

21-21: LGTM: Proper SSR type export.

The addition correctly exports the new SSR types following the established pattern.

packages/web-platform/web-constants/src/types/MainThreadGlobalThis.ts (1)

345-345: LGTM: Appropriate type extension for SSR hydration.

The parameter type change from string to string | null correctly reflects that SSR hydration data might not always be present, improving type safety.

packages/web-platform/web-mainthread-apis/src/pureElementPAPIs.ts (1)

317-322: LGTM: Improved style value type safety.

The stringification of style values using optional chaining and nullish coalescing ensures type safety and consistent string conversion. The explicit type annotation [string, string] improves type clarity.

packages/web-platform/web-mainthread-apis/src/createMainThreadGlobalThis.ts (1)

674-674: LGTM! Clean conditional override for SSR event capturing.

The implementation correctly uses optional chaining and nullish coalescing to conditionally override __AddEvent with the SSR version when available, maintaining backward compatibility.

packages/web-platform/web-mainthread-apis/src/prepareMainThreadAPIs.ts (3)

27-27: LGTM - Import looks correct.

The import of SSRDehydrateHooks from the web-constants package is properly placed and follows the existing import pattern.


51-51: LGTM - Optional parameter follows TypeScript best practices.

The addition of the optional ssrHooks parameter with proper typing ensures backward compatibility while enabling SSR dehydration functionality.


120-120: LGTM - Parameter threading is correctly implemented.

The ssrHooks parameter is properly passed through to createMainThreadGlobalThis, enabling the main thread global context to optionally use SSR dehydration hooks as described in the AI summary.

@PupilTong PupilTong force-pushed the p/hw/ssr-attribute branch from 19c1b22 to efc776a Compare July 15, 2025 10:06
@PupilTong PupilTong requested a review from colinaaa as a code owner July 15, 2025 10:06
@PupilTong PupilTong force-pushed the p/hw/ssr-attribute branch from efc776a to 7a8d871 Compare July 15, 2025 10:07
PupilTong and others added 3 commits July 15, 2025 18:22
We found that in browser there is no simple tool to decode a base64 string

Therefore we move the data to `ssr` attribute

Also fix some ssr issues

Implement SSR for Web #52
@PupilTong PupilTong force-pushed the p/hw/ssr-attribute branch from 7a8d871 to 63fae1b Compare July 15, 2025 10:22
@codecov
Copy link

codecov bot commented Jul 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codspeed-hq
Copy link

codspeed-hq bot commented Jul 15, 2025

CodSpeed Performance Report

Merging #1292 will not alter performance

Comparing PupilTong:p/hw/ssr-attribute (63fae1b) with main (f656b7f)

Summary

✅ 10 untouched benchmarks

@relativeci
Copy link

relativeci bot commented Jul 15, 2025

Web Explorer

#2945 Bundle Size — 303.62KiB (+0.02%).

63fae1b(current) vs f656b7f main#2943(baseline)

Bundle metrics  Change 1 change
                 Current
#2945
     Baseline
#2943
No change  Initial JS 139.94KiB 139.94KiB
No change  Initial CSS 31.88KiB 31.88KiB
No change  Cache Invalidation 7.29% 7.29%
No change  Chunks 4 4
No change  Assets 5 5
Change  Modules 205(+0.49%) 204
No change  Duplicate Modules 17 17
No change  Duplicate Code 4.23% 4.23%
No change  Packages 3 3
No change  Duplicate Packages 0 0
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#2945
     Baseline
#2943
Regression  JS 220.85KiB (+0.03%) 220.79KiB
No change  Other 50.89KiB 50.89KiB
No change  CSS 31.88KiB 31.88KiB

Bundle analysis reportBranch PupilTong:p/hw/ssr-attributeProject dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci
Copy link

relativeci bot commented Jul 15, 2025

React Example

#2954 Bundle Size — 234.12KiB (0%).

63fae1b(current) vs f656b7f main#2952(baseline)

Bundle metrics  no changes
                 Current
#2954
     Baseline
#2952
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
No change  Cache Invalidation 0% 0%
No change  Chunks 0 0
No change  Assets 4 4
No change  Modules 153 153
No change  Duplicate Modules 61 61
No change  Duplicate Code 45.85% 45.85%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#2954
     Baseline
#2952
No change  IMG 145.76KiB 145.76KiB
No change  Other 88.37KiB 88.37KiB

Bundle analysis reportBranch PupilTong:p/hw/ssr-attributeProject dashboard


Generated by RelativeCIDocumentationReport issue

@PupilTong PupilTong added this pull request to the merge queue Jul 15, 2025
Merged via the queue into lynx-family:main with commit 1443e46 Jul 15, 2025
43 checks passed
@PupilTong PupilTong deleted the p/hw/ssr-attribute branch July 15, 2025 13:11
colinaaa pushed a commit that referenced this pull request Jul 19, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @lynx-js/[email protected]

### Patch Changes

- Optimize `componentAtIndex` by a few hundreds microseconds: avoiding
manipulate `__pendingListUpdates` unless SnapshotInstance tree is
changed ([#1201](#1201))

- Support alog of component rendering on production for better error
reporting. Enable it by using `REACT_ALOG=true rspeedy dev/build` or
defining `__ALOG__` to `true` in `lynx.config.js`:
([#1164](#1164))

    ```js
    export default defineConfig({
      // ...
      source: {
        define: {
          __ALOG__: true,
        },
      },
    });
    ```

- Make `preact/debug` work with `@lynx-js/react`.
([#1222](#1222))

- Introduce `@lynx-js/react/debug` which would include debugging
warnings and error messages for common mistakes found.
([#1250](#1250))

Add the import to `@lynx-js/react/debug` at the first line of the entry:

    ```js
    import "@lynx-js/react/debug";
    import { root } from "@lynx-js/react";

    import { App } from "./App.jsx";

    root.render(<App />);
    ```

- `<list-item/>` deferred now accepts an object with `unmountRecycled`
property to control unmounting behavior when the item is recycled.
([#1302](#1302))

    For example, you can use it like this:

    ```jsx
    <list-item defer={{ unmountRecycled: true }} item-key="1">
      <WillBeUnmountIfRecycled />
    </list-item>
    ```

Now the component will be unmounted when it is recycled, which can help
with performance in certain scenarios.

- Avoid some unexpected `__SetAttribute` in hydrate when `undefined` is
passed as an attribute value to intrinsic elements, for example:
([#1318](#1318))

    ```jsx
    <image async-mode={undefined} />
    ```

## @lynx-js/[email protected]

### Patch Changes

- Bump Rsbuild v1.4.6 with Rspack v1.4.8.
([#1282](#1282))

## [email protected]

### Patch Changes

- Add `import '@lynx-js/react/debug'` for all templates.
([#1250](#1250))

## @lynx-js/[email protected]

### Patch Changes

- Fix "TypeError: cannot read property 'call' of undefined" error during
HMR updates.
([#1304](#1304))

- Supports extractStr for large JSON
([#1230](#1230))

- Change `extractStr` to `false` when `performance.chunkSplit.strategy`
is not `all-in-one`.
([#1251](#1251))

- Updated dependencies
\[[`cb7feb6`](cb7feb6),
[`ec7228f`](ec7228f)]:
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- Support `@lynx-js/react/debug`.
([#1250](#1250))

## @lynx-js/[email protected]

### Patch Changes

- Support alog of component rendering on production for better error
reporting. Enable it by using `REACT_ALOG=true rspeedy dev/build` or
defining `__ALOG__` to `true` in `lynx.config.js`:
([#1164](#1164))

    ```js
    export default defineConfig({
      // ...
      source: {
        define: {
          __ALOG__: true,
        },
      },
    });
    ```

- Supports `console.alog` and use different `console` object in main
thread and background thread.
([#1164](#1164))

## @lynx-js/[email protected]

### Patch Changes

- feat: move SSR hydrate essential info to the ssr attribute
([#1292](#1292))

We found that in browser there is no simple tool to decode a base64
string

    Therefore we move the data to `ssr` attribute

    Also fix some ssr issues

- feat: support \_\_MarkTemplateElement, \_\_MarkPartElement and
\_\_GetTemplateParts for all-on-ui
([#1275](#1275))

-   Updated dependencies \[]:
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- feat: support SSR for all-on-ui
([#1029](#1029))

- feat: move SSR hydrate essential info to the ssr attribute
([#1292](#1292))

We found that in browser there is no simple tool to decode a base64
string

    Therefore we move the data to `ssr` attribute

    Also fix some ssr issues

- feat: support \_\_MarkTemplateElement, \_\_MarkPartElement and
\_\_GetTemplateParts for all-on-ui
([#1275](#1275))

- feat: mark template elements for SSR and update part ID handling
([#1286](#1286))

- Updated dependencies
\[[`cebda59`](cebda59),
[`1443e46`](1443e46),
[`5062128`](5062128),
[`f656b7f`](f656b7f)]:
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- feat: support SSR for all-on-ui
([#1029](#1029))

- feat: move SSR hydrate essential info to the ssr attribute
([#1292](#1292))

We found that in browser there is no simple tool to decode a base64
string

    Therefore we move the data to `ssr` attribute

    Also fix some ssr issues

- feat: dump the event info on ssr stage
([#1237](#1237))

- feat: mark template elements for SSR and update part ID handling
([#1286](#1286))

## @lynx-js/[email protected]

### Patch Changes

- fix: indicator dots' bg-color on safari 26
([#1298](#1298))

    <https://bugs.webkit.org/show_bug.cgi?id=296048>
    The animation name should be defined in the template

- fix: list may only render only one column in ReactLynx.
([#1280](#1280))

This is because `span-count` may not be specified when `list-type` is
specified, resulting in layout according to `span-count="1"`. Postponing
the acquisition of `span-count` until layoutListItem can solve this
problem.

- Updated dependencies
\[[`443f3d5`](443f3d5)]:
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- fix: indicator dots' bg-color on safari 26
([#1298](#1298))

    <https://bugs.webkit.org/show_bug.cgi?id=296048>
    The animation name should be defined in the template

## @lynx-js/[email protected]

### Patch Changes

- feat: support SSR for all-on-ui
([#1029](#1029))

- feat: move SSR hydrate essential info to the ssr attribute
([#1292](#1292))

We found that in browser there is no simple tool to decode a base64
string

    Therefore we move the data to `ssr` attribute

    Also fix some ssr issues

- feat: support \_\_MarkTemplateElement, \_\_MarkPartElement and
\_\_GetTemplateParts for all-on-ui
([#1275](#1275))

- feat: mark template elements for SSR and update part ID handling
([#1286](#1286))

- Updated dependencies
\[[`1443e46`](1443e46),
[`5062128`](5062128)]:
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- Updated dependencies
\[[`cebda59`](cebda59),
[`1443e46`](1443e46),
[`5062128`](5062128),
[`f656b7f`](f656b7f)]:
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- Fix the `Syntax Error: expecting ';'` error of chunk splitting
([#1279](#1279))

## [email protected]



## @lynx-js/[email protected]

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants