Giter Site home page Giter Site logo

react-isolate's People

Contributors

eisisig avatar spoldman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

react-isolate's Issues

Missing home button

There is no way to got to router root. So we probably need a "site title" which links to the "/" root

Dosn't work in IE

When opening react-isolate in IE11 I get the following error:

Multiple definitions of a property not allowed in strict mode

UI design

There wasn't any real thought put into the design so It might be a good idea to work on that.

The arrangement of the panels, side-menu, resizable panels etc..

Format markup preview better

We should probably format the markup a bit better

Things to check

  • line wrapping by the CodeMirror editor
  • detect total props and display multiline with indentation

Pick up Components tests and provide way to run them

I had already implemented this but it was parsing the tests and was really fragile.

We should probably just pick up the file, store the path and then have a way in the Components view to run it.

We could use something like shell-js/exec and run the test. The have a way (ajax/iframe) to display the results of that call

Better way to demo Components

I think we need a better way/workflow to demo Components. Some components can be easily demoed with just the fixtures. But some depend on sibling/child components (Tab/TabPane, Accordion/AccordionPane, RadioList/Radio) etc...

Now we pick up all Components and fixtures. So if there is a Demo Component AND a fixture for it we display it. BUT the docs are then from the Demo Component and not the actual Component you are demoing.

We could do some auto-detecting of demo Components with some naming convention so

Accordion.js
AccordionPane.js
AccordionDemo.js
// or ---
Radio.js
RadioList.js
RadioList-demo.js

Then we would attach the demo info to the Component when we are fetching all the Components on start

I'll add to this when I think of something

Load only the main component js file from the component's folder

Having more than one js files in the component folder causes issues with the sidebar and loaded fixtures.

Example:

If I have something like this:

src/component/MyList/MyList.js
src/component/MyList/MyListItem.js <-- sometime this is loaded even if is not the main component

Component doesn't render if no props exist

If there is no fixture and no defaultProps in the Component trying to be rendered nothing happends.

We need to check for "defaultProps" property and create an empty Object probably if it doesn't find any

Performance improvements

See if it is possible to improve the speed of initial compile of components

  • See if it is possible to improve require.context calls
  • Improve loops and break out as soon as possible
  • Any loader or plugins unnecessary

Include state in fixtures

We need to allow state variables in the fixtures which update automatically.

Also update the editor if the you interact with the Component demo which changes the state

Upgrade babel to v6

We need to update babel version to the latest v6

But some of the packages that are used are not yet compatible those are

  • react-babel-transform

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.