-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I am currently working on adding support for Sentry.io in my react-native app. I use react-native-sentry package and there is one requirement: the package should only be imported if certain constant is set to true, for example SHOULD_USE_SENTRY. All sentry configuration is stored in a separate file, which also exposes 2 methods: setupSentry and captureException which are used in the root of the app in the componentDidMount and componentDidCatch respectively. How can I dynamically load those methods in the root component, so that when the value of SHOULD_USE_SENTRY is false I won't get errors thrown after calling my methods? I hope I described my issue clear enough.
Related posts
-
Showcase your open source project at top developer conferences in Berlin this summer 🇩🇪
-
A Lawsuit Argues Meta Is Required by Law to Let You Control Your Own Feed
-
Build and deploy a Next.js ecommerce website in 5 steps
-
Show HN: Px – Run commands across different JavaScript package managers
-
Building a Notion-style activity feed with Next.js and shadcn/ui