storyblok / field-plugin

Create and deploy Storyblok Field Plugin
https://www.storyblok.com/docs/plugins/field-plugins/introduction
25 stars 3 forks source link

docs(template): add readme instruction to remove loading state #252

Closed demetriusfeijoo closed 11 months ago

demetriusfeijoo commented 1 year ago

What?

Add readme instructions to remove the loading state

Why?

JIRA: EXT-1726

It's a default behavior, after creating a fresh new field-plugin, to have a loading state inside the autogenerated FieldPluginProvider (created by the CLI).

This state shows a 'loading...' message during the field-plugin render process, however, it happens so quickly that it flicks and the user can't even see it appearing.

To avoid this flickering “Loading…” message to happen, instructions for removing it were added for React, Vue2, and Vue3 templates.

Screenshot 2023-08-17 at 08 29 06

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
plugin-sandbox ✅ Ready (Inspect) Visit Preview Aug 17, 2023 0:23am
johannes-lindgren commented 1 year ago

This is fine, I think. I know we will have to adjust the newly added instruction, but that is also true for the sentence above.