Skip to content

Conversation

@huozhi
Copy link
Member

@huozhi huozhi commented Jun 11, 2022

SWRConfig.default was introduced for accessing default value, though default is kinda confused property that could be default of anything or like the default property of an ES module.

Now rename it to SWRConfig.defaultValue, and document in the swr v2 docs later

@huozhi huozhi added this to the 2.0 milestone Jun 11, 2022
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c8ba3ea:

Sandbox Source
SWR-Basic Configuration
SWR-States Configuration
SWR-Infinite Configuration
SWR-SSR Configuration

@huozhi huozhi marked this pull request as ready for review June 11, 2022 23:08
@huozhi huozhi requested a review from shuding as a code owner June 11, 2022 23:08
@shuding shuding merged commit 246c1e7 into main Jun 12, 2022
@shuding shuding deleted the rename-config-default branch June 12, 2022 00:07
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.

3 participants