Coder Social home page Coder Social logo

Add docs on how to use ld-r as dep about ld-r HOT 7 CLOSED

ali1k avatar ali1k commented on July 19, 2024 2
Add docs on how to use ld-r as dep

from ld-r.

Comments (7)

darrencruse avatar darrencruse commented on July 19, 2024 2

Just a note that I too would be interested in a way to use ld-r react components in an existing app.

In my case there's an existing app built with node/webpack/react/redux (so not all that different except redux instead of fluxible).

The app currently stores it's data as json documents in dynamodb but I was looking to convert the plain json to json-ld and use virtuoso to house the rdf generated from the json-ld.

So in my case there is a lot of existing code including parts doing authentication and stuff that won't/can't change. And even UI and styling and stuff that I would be hoping wouldn't have to change since the users have gotten used to certain things.

Yet I do have some flexibility, and from doing the tutorial I do see value in ld-r if I were able to incorporate it into the existing app instead of starting from square one and rebuilding the app on ld-r from the ground up.

I was imagining a world where in the future I might use the provided ld-r components to more quickly develop new features or for certain "admin" type UI, and possibly write custom components to configure for certain properties where I need to (like the tutorial said).

But with my app being the foundation not the ld-r app.

Sounds like it's not easy but just fwiw it would be awesome if it were possible...

(if it's not impossible just hard - I might snoop in the code and see if there's any chance I could contribute changes to help it happen? in that case maybe just some tips on where to look and what it would take?)

from ld-r.

ali1k avatar ali1k commented on July 19, 2024

will work on it soon...

from ld-r.

semanticfire avatar semanticfire commented on July 19, 2024

I would like to know how to use LDR as a encapsulation method in my react app, right now LDR seems like a full stack, where I want to just inject properties insider generic react components

from ld-r.

ali1k avatar ali1k commented on July 19, 2024

Hi @semanticfire, as you mentioned LD-R is a full-stack framework. You can install it as a cloud service and employ the dynamic configurations to build your semantic web app. Most of the existing React components (except core Reactor components) can be easily re-used in other apps, however, you will lose the isomorphic nature and Flux data flow if you try to use them stand-alone.

from ld-r.

semanticfire avatar semanticfire commented on July 19, 2024

That is what I guessed, is there no way to generate a 'Linked Data Redux' ??
That would be really helpfull

from ld-r.

ali1k avatar ali1k commented on July 19, 2024

Ii will think about it. However, I am not sure if Linked Data Redux would differ a lot from the normal Redux. What LD-R does now is just adopting Fluxible data flow (not Redux) for Linked Data. The magic is more on the RDF components + server-side services communicating with SPARQL endpoints.

from ld-r.

ali1k avatar ali1k commented on July 19, 2024

dear @darrencruse @semanticfire
When I find some spare time, I will investigate this possibility and then might come back to you for some help in realising this nice feature.
What comes from the top of my mind is that: React components in LD-R should be bundled with their actions, stores and services to support the flux data flow. We need a solution that bundles Flux into a reusable and interoperable stand-alone app...

from ld-r.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.