Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react admin data provider

dataProvider
    .getOne('posts', { id: 123 })
    .then(response => {
        console.log(response.data); // { id: 123, title: "hello, world" }
    });
Source by marmelab.com #
 
PREVIOUS NEXT
Tagged: #react #admin #data #provider
ADD COMMENT
Topic
Name
8+2 =