Closed eunjae-lee closed 12 months ago
The latest updates on your projects. Learn more about Vercel for Git āļø
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
plugin-sandbox | ā Failed (Inspect) | Sep 14, 2023 2:39pm |
Current dependencies on/for this PR:
This comment was auto-generated by Graphite.
Awesome, thank you for your effort š
Does the reactivity work the same as we expect it to work in Vue template? Just wondering....nothing that blocks this from being merged.
I guess so, but I'll give it the same test that you're doing on the vue 3 one. Good catch!
@BibiSebi You were right. After incrementing the counter, Story component was re-rendered as well.
~gotta think about how to improve this š¤~
What?
This PR updates the react helper and the react template.
alternate (draft) implementation of useFieldPlugin for fine-grained reactivity control
```js import { createFieldPlugin, type CreateFieldPluginOptions, type FieldPluginResponse, type StoryData, } from '@storyblok/field-plugin' import { useEffect, useState } from 'react' export const useFieldPlugin =Why?
JIRA: EXT-1915
How to test? (optional)