Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

fix(SSR): extend history router and inject document into searchBox #986

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

aymeric-giraudet
Copy link
Member

@aymeric-giraudet aymeric-giraudet commented Feb 24, 2023

Summary

CR-2914

This fixes 2 issues in SSR :

  • Updated the example to use the updated history router rather than a custom one
  • Inject document with a decorator for NgAisSearchBox as attempting to access as global throws in SSR

@netlify
Copy link

netlify bot commented Feb 24, 2023

Deploy Preview for angular-instantsearch ready!

Name Link
🔨 Latest commit 78d409e
🔍 Latest deploy log https://app.netlify.com/sites/angular-instantsearch/deploys/63f8cb7127453c0008a44070
😎 Deploy Preview https://deploy-preview-986--angular-instantsearch.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 site settings.

@aymeric-giraudet aymeric-giraudet force-pushed the fix/ssr-router-and-searchbox branch from d9d286a to 78d409e Compare February 24, 2023 14:36
Copy link
Contributor

@FabienMotte FabienMotte left a comment

Choose a reason for hiding this comment

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

Thanks for your help, congrats! 👏

@aymeric-giraudet aymeric-giraudet merged commit e19ecf2 into master Feb 27, 2023
@aymeric-giraudet aymeric-giraudet deleted the fix/ssr-router-and-searchbox branch February 27, 2023 16:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants