-
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.
If you’re feeling like, “just show me the code!” you can check it out here.
Our state management approach is similar to that of Redux, Vuex and other Flux architectures, just on a smaller scale. Our user event triggers an action in JavaScript which tells WebAssembly we need to recalculate our state, and re-render the view. A key benefit of doing these state calculations in Rust is that the existing state never leaves our sandboxed environment; we only ever pass a reference to our Rust closure — which “closes” over the current state — to an event listener in our JavaScript.
Our state management approach is similar to that of Redux, Vuex and other Flux architectures, just on a smaller scale. Our user event triggers an action in JavaScript which tells WebAssembly we need to recalculate our state, and re-render the view. A key benefit of doing these state calculations in Rust is that the existing state never leaves our sandboxed environment; we only ever pass a reference to our Rust closure — which “closes” over the current state — to an event listener in our JavaScript.
Our state management approach is similar to that of Redux, Vuex and other Flux architectures, just on a smaller scale. Our user event triggers an action in JavaScript which tells WebAssembly we need to recalculate our state, and re-render the view. A key benefit of doing these state calculations in Rust is that the existing state never leaves our sandboxed environment; we only ever pass a reference to our Rust closure — which “closes” over the current state — to an event listener in our JavaScript.