I've written a simple application in React-js/Spring boot which essentially generates software licenses (an xml file) and records basic facts about the license issued, such as customer name etc.
This has worked fine, but now the request is to store specific features of the software which are enabled via the license, e.g. reporting, notifications, etc.
These attributes are carried as name/value pairs in the xml file, most of which will never change. But there are a few that could change, and the request is to have checkboxes on the UI which allow the user to enable one or more of this small subset of features.
Since this list of features could vary over time, I'd like to create a text file which lists the names of these features. This file would then be used as the basis to dynamically create checkboxes on the UI.
This sound like it should be do-able, but as I'm not very familiar with React, I'm wondering if this is a little ambitious.
So the question is - can you create checkboxes on a React UI based on names you read from a file?
Aucun commentaire:
Enregistrer un commentaire