Closed Dartv closed 7 years ago
After a long testing I finally found the issue that was causing it. It was actually a call to a meteor method which was blocking the rendering process. It was really hard to debug this because the subscription was initialized and then the block was happening. So the tests were showing that the subscription takes 5-10 sec, so I assumed it was a problem with the package because in blaze everything worked fine. Another strange thing is that in blaze the method wasn't causing block.
For the initial subscription it takes react komposer about 5-10 seconds to actually show the data. This is just ridiculous because I tested the same subscription with blaze and it took about half a second to render the data. What is the problem with react-komposer? How can I get around this? I know that there is v2 floating around that MAYBE will resolve this issue, but this is critical for now and I absolutely need this to work properly as fast as possible. Btw I'm using fork from this pull request: https://github.com/kadirahq/react-komposer/pull/99 as I absolutely need functionality from there. There is the code: