Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/preactjs/signals

Manage state with style in every framework
https://github.com/preactjs/signals

Merge pull request #527 from jviide/sub2

refactor: inline Signal.prototype.subscribe implementation

dc0f5285e31a9388a8944c33f80e88e653a11e73 authored 9 months ago by Marvin Hagemeister <[email protected]>
Merge pull request #526 from jviide/inline-cycle-errors

refactor: inline cycle errors & use a shared .peek() implementation for signals and computeds

089b3fd7aaaa39f9322a9eb5f1cbaad220e0f6af authored 9 months ago by Marvin Hagemeister <[email protected]>
refactor: inline Signal.prototype.subscribe implementation

9444f7955a44950781a4d0853680dba29d450989 authored 9 months ago by Joachim Viide <[email protected]>
refactor: share peek() implementation between signals and computeds

18fa480b6c596edf7a2a750efc0f77084a64e6dc authored 9 months ago by Joachim Viide <[email protected]>
refactor: inline cycleDetected function

1ee9eab125e0f54fe5707e4d8829b8916172d7cc authored 9 months ago by Joachim Viide <[email protected]>
Merge pull request #524 from jviide/patch-minus-one

build: remove @babel/plugin-transform-typescript patch introduced in #174

d1e51e47404defcc5f1d55d0a6974a618bb0e369 authored 9 months ago by Marvin Hagemeister <[email protected]>
build: remove @babel/plugin-transform-typescript patch introduced in #174

The patch is already a part of Babel itself.

9ed5e05cb3767f8421516d116abe9e3189f1d207 authored 9 months ago by Joachim Viide <[email protected]>
Merge pull request #523 from jviide/sub

refactor: use untracked to implement Signal.prototype.subscribe

e7b9ccccfd7c9f239a871d53b41600e64699bacc authored 9 months ago by Marvin Hagemeister <[email protected]>
refactor: use untracked to implement Signal.prototype.subscribe

3e58027e0b8aaabc21c68a3e1c0017128c50b443 authored 9 months ago by Joachim Viide <[email protected]>
Merge pull request #512 from jviide/patch-01

Fix: always reset the evaluation context upon entering an untracked block

d7f2afafd7ce0f914cf13d02f87f21ab0c26a74b authored 10 months ago by Marvin Hagemeister <[email protected]>
Fix: always reset the evaluation context upon entering an untracked block

a5b6ccd275efb2235d7dd03cd0dc031ecf431ebe authored 10 months ago by Joachim Viide <[email protected]>
Move all untracked() tests into their own section

e357b4d1451d388a0844ba7a50a07f402ad2c557 authored 10 months ago by Joachim Viide <[email protected]>
Add a test for untracked(() => effect(() => untracked(() => signal.value)))

d9d416147cfed39fd170051db6176186b386e7b7 authored 10 months ago by Joachim Viide <[email protected]>
Merge pull request #493 from preactjs/docs/use-signal-effect

docs: Add mention of `useSignalEffect` hook in integration readmes

34c875224f7ef352cc432f5d351352bd591718ec authored 12 months ago by Ryan Christian <[email protected]>
docs: Add mention of `useSignalEffect` hook in integration readmes

b373986e92e2d406ea5dd9961aba83b0bd32ad6e authored 12 months ago by Ryan Christian <[email protected]>
Fix link to Babel transform docs (#482)

192dbd98213b40abfec4b0f2bcff1bb100995f2b authored 12 months ago by Ian Bicking <[email protected]>
Update README.md (#472)

6437d18dd3e06a87e69ed4f384110c7cc29696d1 authored 12 months ago by i18u <[email protected]>
Version Packages

d78f522411e6dec25c79b345bccb490c5fa57728 authored about 1 year ago by Andre Wiggins <[email protected]>
Version Packages (#468)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

09c4d631a49c4e9e5c9e5aa59349f79d0cd3a3c6 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Remove auto tracking using React internals from signals-react package (#467)

* Add auto package to react package.json

* Remove auto tracking using React internals from si...

d7f43ef5c9b6516cd93a12c3f647409cfd8c62be authored about 1 year ago by Andre Wiggins <[email protected]>
Version Packages

a43821fa0f23846d86dd2e186b088e8f5c4f9d30 authored about 1 year ago by Andre Wiggins <[email protected]>
Version Packages (#447)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

4dbf4fb7fc41e095c818f0d8cc6b4ef6054f8f66 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Improve mixing useSignals called in hooks and components together (#459)

This PR adds tests and supported for nested `useSignals` calls when combined in components & hoo...

06d4c10dbc2b3029ffe855d846afd7dc431ea749 authored about 1 year ago by Andre Wiggins <[email protected]>
[react-transform] Prepend `useSignals` call if function isn't clearly a component (#458)

It's possible to use the `@trackSignals` comment manually opt-in to the react signals transform ...

0c0d89f181e7b38432d10ea0f79fa031774c2a27 authored about 1 year ago by Andre Wiggins <[email protected]>
Merge pull request #456 from XantreGodlike/ts-fix

Fixed typescript error from resolving unspecified in exports map .ts file

03bb907fd41874319ca06c9716e660a15f3d5cd6 authored about 1 year ago by Ryan Christian <[email protected]>
Update .changeset/wise-toes-joke.md

deb011163dd615810dcc102ddcf650aff3157c03 authored about 1 year ago by Ryan Christian <[email protected]>
Fixed typescript error from resolving unspecified in exports map .ts file

b0b2a5b54d0b512152171bb13c5bc4c593e7e444 authored about 1 year ago by XantreGodlike <[email protected]>
Merge pull request #451 from dcporter/patch-1

Removes backward-incompatible type export.

70ef4bb8694657ee43bcf2cf3f10732941c77f0b authored about 1 year ago by Ryan Christian <[email protected]>
Adds change description.

990f1eb36fa4ab5e30029f79ceeccf709137d14d authored about 1 year ago by Dave Porter <[email protected]>
Removes backward-incompatible type export.

This syntax (export { type Foo }) breaks consumers prior to TS v4.5.

d206d7f64993098ce63f608e9518c433faeb079a authored about 1 year ago by Dave Porter <[email protected]>
Use function expression name if it has one (#446)

Component's like
```js
var render = function App() { ... }
```
will now by transformed by th...

09f3ed7c5b7a5a3a86673dfc73cd868766e0eefc authored about 1 year ago by Andre Wiggins <[email protected]>
Upgrade dependencies (#445)

* Upgrade dependencies

* Update babel ecosystem

221c8847aac5c48ec0f1ecfef0ff86603ec67a7c authored about 1 year ago by Andre Wiggins <[email protected]>
Version Packages

37d261b128dd16f30fcf072cc805e249632eefdf authored about 1 year ago by Andre Wiggins <[email protected]>
Version Packages (#418)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

dca5f2af8974873fad9df5c848f9b83f708dcb38 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Add support for auto transforming Components declared as object properties (#444)

* Add support for auto transforming Components declared as object properties

* Refactor objec...

2939812a972b62830e0a839dcc9a8024ab5c7bc8 authored about 1 year ago by Andre Wiggins <[email protected]>
docs: Add link to React's rendering optimizations from root ReadMe (#440)

768cd2627134379a68b893ffae0dcb8aaef5409a authored about 1 year ago by Ryan Christian <[email protected]>
Add auto pkg & run react runtimes tests against auto & transform runtimes (#443)

* Update caniuse-lite

* Add auto subpackage to signals-react

* Remove auto from allowed ex...

020982d2f3039817527aaa000a5697486a870c9d authored about 1 year ago by Andre Wiggins <[email protected]>
Add debug logging to inspect what components are transformed by plugin (#442)

76babcb520594bb200fd69ac4840a7df5f259752 authored about 1 year ago by Andre Wiggins <[email protected]>
[react-transform] Support more component definitions & expand tests (#441)

* Add transform test for memo'ed components

* Handle using memo and forwardRef on components ...

4c433c32469d3a79b1a3e4d523f111b6bec3a187 authored about 1 year ago by Andre Wiggins <[email protected]>
Fix rendering signals as text when using react-transform (#439)

* On exported useSignals, only run logic if auto is not installed
* Remove top-level requiremen...

fb6b050be305294fa3ea5b883c51a375f1720f78 authored about 1 year ago by Andre Wiggins <[email protected]>
In tests, skip Babel on node_modules when not down leveling (#426)

* In tests, skip babel on node_modules when not down leveling

Local tests run a lot faster now ...

beafe695eb9e3d6a0e719d5481faba4ebb5525e5 authored about 1 year ago by Andre Wiggins <[email protected]>
Capture expected behavior of passing signals through context (#425)

* Attempt to add repro of test for using a signal that only every written and reads are always o...

de68f7c55125f7744c6743cceb84d05a1b81467c authored about 1 year ago by Andre Wiggins <[email protected]>
Add release guide and specify files to include in package (#343)

* Add CONTRIBUTING
* Explicitly delcare files to be published
* Add helper script to debug pac...

3b3496dac0fa8436d982e015c0a7206795e5da17 authored about 1 year ago by Andre Wiggins <[email protected]>
Reapply formatting to the repo (#424)

* Setup husky in prepare script and upgrade lint-staged

* Reformat code

1c25f17bfa6a57dfbf3f73f0712cf41a7bc72df9 authored about 1 year ago by Andre Wiggins <[email protected]>
Add an "all" mode to the react transform (#421)

"All" mode transforms all components to be reactive to signals. You can still opt-out using `/**...

f80b251d7333e1a1d82e537969a15ba17657c82f authored about 1 year ago by Andre Wiggins <[email protected]>
Fixed tranform readme (#413)

Co-authored-by: Andre Wiggins <[email protected]>

ad6305c973160fb1272b6ad2e3783e6e3410f9de authored about 1 year ago by Valerii Smirnov <[email protected]>
Remove log in tests (#417)

ae6da557d8804b7bf43b99ce8c4e3f41668801be authored over 1 year ago by Jovi De Croock <[email protected]>
Merge pull request #415 from prinsss/fix-use-signal-cdn

fix: add microbundle global for preact/hooks package

e2e19b7d3698026d697292efc672958597eece0a authored over 1 year ago by Ryan Christian <[email protected]>
docs: add changeset

79efe32437784a2f7583fc727f9f99324289d11d authored over 1 year ago by prin <[email protected]>
fix: add microbundle global for `preact/hooks` package

This fixes "useMemo undefined" error when using `useSignal` hook with UMD scripts.

6778e91fd27cb250a48689865803d5c2b4889e27 authored over 1 year ago by prin <[email protected]>
Version Packages (#407)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

3c733898ff2694607851fdfc47d83f79acd6ee7c authored over 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Register newly inserted import statement as a declaration in Babel scope (#406)

* Remove support for non-ESM files

* Register newly inserted import statement as a declaratio...

71caaad9c69da4bd6a1c9bf1926562162a109dfb authored over 1 year ago by Andre Wiggins <[email protected]>
Fix wrongly named property (#408)

Introduced in #405

216a592b3184ab543357d276d7035f2273a9cf19 authored over 1 year ago by Jovi De Croock <[email protected]>
feat(core): add unique identifier for signals (#405)

* add unique identifier for signals

* avoid name collision

9355d962b0d21b409b1661abcead799886e3cdb3 authored over 1 year ago by Jovi De Croock <[email protected]>
Merge pull request #403 from jaredcwhite/remove-dup-text-in-readme

Remove duplicated paragraph in Readme for `untracked`

40b270f0eaa1de42edc0baed4fd99fbdedbb5c69 authored over 1 year ago by Ryan Christian <[email protected]>
Remove duplicated paragraph in Readme for `untracked`

It looks like a paragraph explaining how to use `peek()` had gotten duplicated into the bottom o...

64d9e0a67f670e946806d6babace74966b85a19c authored over 1 year ago by Jared White <[email protected]>
Version Packages

fb06b0806d29f8efb56a005fb39763e656fdf5d3 authored over 1 year ago by Andre Wiggins <[email protected]>
Version Packages (#400)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

d69916e9bf4ba3b817c51254e59ba7ffa7dee55c authored over 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Lower required babel version required as a peer dependency (#401)

17e1491a27afedc714c6b0ab1e9fbf88d0d6433c authored over 1 year ago by Andre Wiggins <[email protected]>
Merge pull request #399 from preactjs/fix/preact-umd

fix: Specify `@preact/signals-core` global to Microbundle

a0f6eb8d187159e6d8dd659316fbcdccc9bf1d96 authored over 1 year ago by Ryan Christian <[email protected]>
refactor: Maybe an improvement upon repeated scripts?

686f9c0ee997c4e41b86e200e5a5fdf2fb8cd511 authored over 1 year ago by Ryan Christian <[email protected]>
fix: Missed one

f539732d21c75e8ecb8b6d1ebc34beb425e9aa56 authored over 1 year ago by Ryan Christian <[email protected]>
docs: Adding changeset

24fa9f791d70baba35bdce722f71ce63ac091a4d authored over 1 year ago by Ryan Christian <[email protected]>
fix: Specify @preact/signals-core global to Microbundle

6f2b1be78f74b30ae6f76c8e4d831d8d61a69ba6 authored over 1 year ago by Ryan Christian <[email protected]>
Version Packages

f7dc8ca3cbed0a307941ce944e022d0ce18cdaaf authored over 1 year ago by Andre Wiggins <[email protected]>
Version Packages (#393)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

a8280b04f2bbef62324aed09eabf54c852ceca75 authored over 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Merge pull request #375 from preactjs/react-babel-plugin

Add package `@preact/signals-react-transform`

fe44f6edd8361a3460df27d32c537dc2651fcb33 authored over 1 year ago by Andre Wiggins <[email protected]>
Final PR tweaks

255208abf700d26eee8071f2d630f6efc730a514 authored over 1 year ago by Andre Wiggins <[email protected]>
Merge branch 'main' into react-babel-plugin

1099b7bc8402652ad868437b51816bce83e140eb authored over 1 year ago by Andre Wiggins <[email protected]>
Removed difference in behaviour of @preact/signals and @preact/signal… (#387)

* Removed difference in behaviour of @preact/signals and @preact/signals-react

* added more e...

6e4dab4e8c99217aa2837037a5fc82ee852ee288 authored over 1 year ago by Valery Smirnov <[email protected]>
Added `untracked` function (#380)

* Added untrack function

* fixed naming

* add tests

* Fix tests

* reexported untrack...

256a331b5335e54f7e918b3f1068fb9d92d1c613 authored over 1 year ago by Valery Smirnov <[email protected]>
Upgrade to pnpm v8 (#391)

3b324636954a34061f7fa6aee9ffa1e3eeabe467 authored over 1 year ago by Andre Wiggins <[email protected]>
docs: add fragment note (#385)

To add the React Fragment requirement note the Preact 'Render Optimiztion' content was copied wi...

3c23713a5de6e083d549ffb005759914f5dd5304 authored over 1 year ago by Christopher Gwizdala <[email protected]>
Add support for trackSignals comments on object property assignment

033224a4616e9d830a801b3925bef21f2ec07044 authored over 1 year ago by Andre Wiggins <[email protected]>
Add support for trackSignals comments on object properties that are functions

f01b41321cfce335810105f93d4b63fe2e3a57e4 authored over 1 year ago by Andre Wiggins <[email protected]>
Add test for not transforming hook callbacks

b90a938a7d40a350854949619ad84d4fb1c0ff8e authored over 1 year ago by Andre Wiggins <[email protected]>
Cleanup effect store reference after using it

cd3a22d628c3a535108bc45b8151505dd6fc51c8 authored over 1 year ago by Andre Wiggins <[email protected]>
Add changesets

59115d9ea6dfa073255f9803dd7e8a09892d2acc authored over 1 year ago by Andre Wiggins <[email protected]>
Add note about higher order components

1bab05bdb107366863e98cb3cf051846ca8ad936 authored over 1 year ago by Andre Wiggins <[email protected]>
Add support for using `using`

dd070c94e09e78bfec3b67c5fc180404d6ebea26 authored over 1 year ago by Andre Wiggins <[email protected]>
Add importSource plugin option

1ace9006ce884844d1defc4fa15bed66632b0edd authored over 1 year ago by Andre Wiggins <[email protected]>
Reorganize tests

50bc4ee2928ea8b175d1737db5e3ad6671eab659 authored over 1 year ago by Andre Wiggins <[email protected]>
Merge branch 'main' into react-babel-plugin

a122e59c36e30a78bac216208bd1083177e29067 authored over 1 year ago by Andre Wiggins <[email protected]>
Fix test:prod tests

ed01656f574fa97852e83cce69400aa01223d5c3 authored over 1 year ago by Andre Wiggins <[email protected]>
Re-organize transform file a bit

a76706b3bd0eee12dfccf3beb1afbefe6bdfb0fc authored over 1 year ago by Andre Wiggins <[email protected]>
Simplify render tracking by never stopping signal tracking in a custom hook

fe7f7f29d827503325a31c088db6ea26c46d37b2 authored over 1 year ago by Andre Wiggins <[email protected]>
Manually track if the babel transform is used to end signal tracking to make nested hook and component signal usage work

d5527a6f12f03c5e470120957a0a846c679da886 authored over 1 year ago by Andre Wiggins <[email protected]>
Align babel versions to fix tsc errors

67d60996d4173aee547c6b9e6079e2d587f236c5 authored over 1 year ago by Andre Wiggins <[email protected]>
WIP: Add test for multi-hooks in component

959a83fcf4ac1df9397e50bedfd75973a6768b18 authored over 1 year ago by Andre Wiggins <[email protected]>
Use testRequire for jsx in tests

2e6e4ae0491d230fe0b009dc5fb5d2ee3479e66f authored over 1 year ago by Andre Wiggins <[email protected]>
Version Packages (#382)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

9d0cb672b7aa69b8afa22d9b57a7f51de838e2cf authored over 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Update E2E test infra

- Separate babel/standalone into it's own file
- Allow ESM in test code to compile to more close...

58b3a257319627f5a2a87f0b8c19dd1d03afe2f3 authored over 1 year ago by Andre Wiggins <[email protected]>
Setup react-transform E2E test infra

372671a28de17885dcbaf73d8cd072440b64a9ec authored over 1 year ago by Andre Wiggins <[email protected]>
Fix internal property names (#377)

f4ff0abc55c83198e5ff7557f3d6663bac4b5149 authored over 1 year ago by Andre Wiggins <[email protected]>
Allow for context to propagate to components using context (#381)

* Allow for context to propagate to components using context

* Create tasty-cooks-own.md

*...

e655e7f86c321dca12e760e21c01f2dbfafade47 authored over 1 year ago by Jovi De Croock <[email protected]>
Add support for transforming custom hooks

6802bfc70e091646a26c3c2ef651c1dbc05f9896 authored over 1 year ago by Andre Wiggins <[email protected]>
Fix prepublish script for react package

60dae3f060ca72abdeb6f56d2c5b23a08c01a4f8 authored over 1 year ago by Andre Wiggins <[email protected]>
Version Packages

4956329265a0eedfcd0df811e0e6da92134f43de authored over 1 year ago by Andre Wiggins <[email protected]>
Version Packages (#362)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

ba41a2527e2c61b23ee868dc46320e45b8168542 authored over 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Add missing build scripts to package.json

74696f3e9e8dd50dbc4972a2041a806cfdcbb942 authored over 1 year ago by Andre Wiggins <[email protected]>