Comments (9)
Hi Alex,
It's been a while that I don't use react-json in my dialy work. I suppose that the errors comes from the CSS and the absence of the inner tags.
Do you dare to make a PR to make it work again?
Cheers,
Javi
from react-json.
I made a quick fork and fixed a few things. There were a few errors related to findDomNode()
being deprecated as of react v15
.
Unfortunately, I am not familiar with this library back when 0.13
was still floating around, so I am not sure if I have full functionality restored. As for tests, it's not clear to me on how to run those as no documentation/setup instructions are included :-)
@alex-newray @arqex Could you check out this fork and see what's missing?
One thing I noticed is that the css does not get loaded automagically, but perhaps that is by design. Since I'm using Webpack for the project I am using this in, this is not a biggie as it's easily solved with a quick css-loader
.
from react-json.
@hilkeheremans Yes, it works. Only need to change depending on new react
@arqex @hilkeheremans I would like to see the updated version in npm
Thank you
from react-json.
@hilkeheremans can you make a PR for your changes? It looks like they are working.
from react-json.
from react-json.
Thanks @hilkeheremans .
Have you tried this component while using Redux? I can't get the onChange event to fire when I'm using redux.
from react-json.
Nice to see movement in this repo. The project where I use react-json is not in react 15, that's why this issue was a bit forgotten.
I'll try to merge @hilkeheremans PR this evening ;)
Thanks
from react-json.
Merged thanks.
I have a question. How do you use this library? I created it in the early days of react because handling deep changes in deep trees of data was so challenging, and what's a better example than a JSON editor for that?
After that, I created freezer.js to manage those changes, and redux became very famous, and I started using react-json as a quick way of creating forms and editing generic data, but all that logic about extending/collapsing nodes is not useful to me any longer.
I think this library could be revamped to work really well as a form editor, but I don't know if there is people who likes its json editor features, or if there will be devs interested in another (but the simplest) form generator.
from react-json.
I vote for providing only the form generator functionality.
That has been very useful but I have not found any use case for the JSON editor.
from react-json.
Related Issues (9)
- Docs Missing for Validation and Settings HOT 1
- Remove href="#" references to be compatible with frontend routers (i.e react-router)
- specifying field type for a nested field HOT 4
- Need to specify "key" attribute HOT 1
- number field only allows entry of period in the middle of a value HOT 1
- settings are only applied on first render
- publish
- Feature request: Ability to specify custom components for types HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-json.