ffx-meteor-react-boilerplate icon indicating copy to clipboard operation
ffx-meteor-react-boilerplate copied to clipboard

Example app

Open Morganjackson opened this issue 8 years ago • 6 comments

@ffxsam Thanks for all your work on this awesome boilerplate! This finally made things click for me.

Do you plan to update the example app to use createContainer() or one of the many other options? I'm very interested to see how this works with your boilerplate.

Morganjackson avatar Mar 30 '16 11:03 Morganjackson

I'm really glad to hear you found it useful! And yes, the example app is in sore need of an update. :) I'll leave this issue open and post again once it's been updated.

ffxsam avatar Mar 30 '16 17:03 ffxsam

What do you plan to update on the example branch?

peterpetre avatar Apr 19 '16 11:04 peterpetre

I like the structure of the example branch. Its similar to meteor-react apps I've already built. Will the example branch be moving to a structure similar to master with an imports folder and explict imports from the startup folder? Have you discussed this somewhere in another thread I missed? I don't understand the benefit of the imports structure in master.

majochoc avatar Jun 07 '16 13:06 majochoc

Sorry, been completely swamped with projects. I'll get around to updating the example branch at some point!

Will the example branch be moving to a structure similar to master with an imports folder and explict imports from the startup folder?

Yes.

Have you discussed this somewhere in another thread I missed? I don't understand the benefit of the imports structure in master.

Not discussed anywhere yet. I ran into some trouble on a project where I wasn't using imports—things basically being loaded (or not!) at the right time. So I realized I needed to just short-circuit any lazy-loading done by Meteor, and I put everything in imports. It still needs some restructuring, actually. There should be client and server folders, because unit testing breaks in some cases.

ffxsam avatar Jun 07 '16 21:06 ffxsam

Thanks for the response. I was wondering if you ran into trouble, because I had read in another issue thread how you had hoped to avoid the imports folder since its almost certain to go away post 1.3.

majochoc avatar Jun 07 '16 22:06 majochoc

I'm hoping at some point, Meteor does a way with lazy loading altogether. That might be the eventual goal, but I don't know for sure. For now, it's strongly recommended to use the imports folder.

ffxsam avatar Jun 07 '16 22:06 ffxsam