Skip to content

Conversation

@SukkaW
Copy link
Contributor

@SukkaW SukkaW commented Oct 12, 2025

@ascorbic Is Impala still maintained? I happened to have some small projects that @impala/preact just perfectly fit the need.

I noticed that preact-render-to-string is being included in the client bundle, which is weird. I dug around and noticed that this is used in the HeadContext's getAsString method, which is not being used at all: https://github.com/search?q=repo%3Aascorbic%2Fimpala%20getAsString&type=code

I guess the getAsString was added for SSR, but later the SSR for <head /> has been moved to entry-server instead, which made getAsString obsolete:

The PR removes the getAsString method from HeadContext, preventing preact-render-to-string and react-dom/server from being included in the client bundle (they should only be in the server bundle).

@netlify
Copy link

netlify bot commented Oct 12, 2025

Deploy Preview for impala-react-ts ready!

Name Link
🔨 Latest commit 58c3249
🔍 Latest deploy log https://app.netlify.com/projects/impala-react-ts/deploys/68eb658330eb8000085d1605
😎 Deploy Preview https://deploy-preview-41--impala-react-ts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Oct 12, 2025

Deploy Preview for impala-react-js ready!

Name Link
🔨 Latest commit 58c3249
🔍 Latest deploy log https://app.netlify.com/projects/impala-react-js/deploys/68eb658341fb0a000874576c
😎 Deploy Preview https://deploy-preview-41--impala-react-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Oct 12, 2025

Deploy Preview for impala-preact-ts ready!

Name Link
🔨 Latest commit 58c3249
🔍 Latest deploy log https://app.netlify.com/projects/impala-preact-ts/deploys/68eb65834de473000800edae
😎 Deploy Preview https://deploy-preview-41--impala-preact-ts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Oct 12, 2025

Deploy Preview for impala-preact-js ready!

Name Link
🔨 Latest commit 58c3249
🔍 Latest deploy log https://app.netlify.com/projects/impala-preact-js/deploys/68eb65831b21630008133adc
😎 Deploy Preview https://deploy-preview-41--impala-preact-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Owner

@ascorbic ascorbic left a comment

Choose a reason for hiding this comment

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

Thanks!

@ascorbic ascorbic merged commit 407e9b6 into ascorbic:main Oct 13, 2025
20 checks passed
@mixie-bot mixie-bot bot mentioned this pull request Oct 13, 2025
ascorbic pushed a commit that referenced this pull request Oct 13, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>preact: 0.0.15</summary>

##
[0.0.15](preact-v0.0.14...preact-v0.0.15)
(2025-10-13)


### Bug Fixes

* drop `getAsString` from `HeadContext`
([#41](#41))
([407e9b6](407e9b6))
</details>

<details><summary>react: 0.0.15</summary>

##
[0.0.15](react-v0.0.14...react-v0.0.15)
(2025-10-13)


### Bug Fixes

* drop `getAsString` from `HeadContext`
([#41](#41))
([407e9b6](407e9b6))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants