inProgress-team / inProgress-team/react-native-meteor

Method calls and optimistic UI

Open
#164 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
688
Forks
200
PR merge metrics
No merged PRs in 30d

Description

Hey guys,

I think #114 might have been closed to quickly.

Wrapping calls to collection methods in Meteor methods truly is a best practice for a couple reasons including data validation, permissions/security or optimistic UI.

I don't totally agree with @grsabreu that code could not be shared between the React Native application and the server-side Meteor application. Actually, all of our shared code is defined in a npm package included in both our React Native application and our Meteor application.

I don't see any easy solution right now, but I think it's worth to keep that as an ongoing reflection.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.