Skip to content

Conversation

TomStrepsil
Copy link
Contributor

@TomStrepsil TomStrepsil commented Jul 6, 2025

Issue

resolves #42
enables #30

Details

Support a new onVariantError plugin hook, replacing the mandatory logError callback passed to the withTogglePointFactory of the react-pointcuts package, thus making the side-effect logging-agnostic, and optional.

Scout Rule

CheckList

  • PR starts with [ISSUE_ID].
  • Has been tested (where required) before merge to main.

TomStrepsil and others added 6 commits December 24, 2024 17:31
* rename to proper module namespace

* update docs links

* update versions

* web toggle point in readme title

* fixup changelog from revised 0.x range

* 2.0.0 -> 0.5.0 in oss version scheme

* fix broken link syntax in CHANGELOG

* consistent quoting

* more version history issues

* fixup module name in jsdoc

* add web
remove sdkInstanceProvider

* remove SDKInstanceProvider

* fixup jsdoc dedupe

* tweak

* clarity re: ssr package

* casing etc
* update workflows

* version

* typo

* update chromium linux snaps

* versions for serve update

* package.json repository field

* update root package.lock

* bugs & directories/doc fields

* fix changelog

---------

Co-authored-by: Tom Pereira <tom.pereira@johnlewis.co.uk>
Co-authored-by: Tom Pereira <tom.pereira@johnlewis.co.uk>
@TomStrepsil TomStrepsil changed the title [42] move log error to plugin hook [42] move logError to plugin hook Jul 6, 2025
@TomStrepsil TomStrepsil changed the title [42] move logError to plugin hook [42] move logError argument of withTogglePointFactory to plugin hook Jul 6, 2025
@TomStrepsil TomStrepsil requested a review from a team as a code owner July 14, 2025 09:54
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.

Consider using a plugin hook rather than explicit "logError" parameter for withTogglePointFactory in "react pointcuts" package
2 participants