Issue #2855Opened June 25, 2020by i3laddin0 reactions

reload prev data for custome react component plugin after reload page

Question

Hello @artf i am working with that awesome tool for long time i integrate it with react , and create a react plugin component for it , and create custom trait to get data from api and render it throw the plugin , i setup a local storage and also make a button to save all data in the local storage and db but i have a little problem , that when i reload page , all data for the custom component gone , and load the default setup , despite of all the others plugin keep it's own data when reload page , sorry if i didn't follow template for the issue , this is my first time to post my question on git , so if i made a mistake , just tell me and i will solve it thanks @artf

Answers (3)

i3laddinJune 27, 20200 reactions

thanks @artf for answer , i know how much time is important to you , but sorry for that , i configure it correctly , also i am get 200 for post request , also i get all of html and components and css for load request , but i have a little problem for prev traits for component , and render prev data image image image

and my porblem is i can't save that traits and get the same data from storage after reload editor and this screen to show that data and traits below

image

so when i reload editor it will like this

image

it's render the default data for component when first initial , not the final data which i stored in db even html data in canvas or the traits and options for component

i am sorry to bother you @artf , and wish you can help !

artfJuly 5, 20200 reactions

How did you define that custom component?

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.